fix(Presence): Do not return NaN for activity timestamp (#8340)

This commit is contained in:
Jiralite
2022-07-23 17:21:47 +01:00
committed by GitHub
parent 5f667c0c82
commit df42fdfc42

View File

@@ -238,7 +238,7 @@ class Activity {
* Creation date of the activity * Creation date of the activity
* @type {number} * @type {number}
*/ */
this.createdTimestamp = Date.parse(data.created_at); this.createdTimestamp = data.created_at;
} }
/** /**