From aecc7edec5cd5cf808b2ebbcca7e04a7243959db Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Tue, 26 Jul 2022 09:55:32 +0700 Subject: [PATCH] refactor(Presence): Remove redundant date parsing (v13) #8341 v13.9.1 --- src/structures/Presence.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Presence.js b/src/structures/Presence.js index ff493a3..eb6e2d0 100644 --- a/src/structures/Presence.js +++ b/src/structures/Presence.js @@ -284,7 +284,7 @@ class Activity { * Creation date of the activity * @type {number} */ - this.createdTimestamp = new Date(data.created_at).getTime(); + this.createdTimestamp = data.created_at; } /**