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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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