mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 07:44:42 +12:00
fix(Presence): Do not return NaN for activity timestamp (#8340)
This commit is contained in:
parent
5f667c0c82
commit
df42fdfc42
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue