mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +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
|
* Creation date of the activity
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.createdTimestamp = Date.parse(data.created_at);
|
this.createdTimestamp = data.created_at;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user