mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(Presence): Do not return NaN for activity timestamp (#8340)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user