Skip to content

Commit

Permalink
refactor(Presence): Remove redundant date parsing (v13) (#8341)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jul 23, 2022
1 parent 5c1e558 commit e95caa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/Presence.js
Expand Up @@ -276,7 +276,7 @@ class Activity {
* Creation date of the activity
* @type {number}
*/
this.createdTimestamp = new Date(data.created_at).getTime();
this.createdTimestamp = data.created_at;
}

/**
Expand Down

0 comments on commit e95caa7

Please sign in to comment.