From f522ecd923c8f49d7f49a3c1a356c51a44a91c29 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Wed, 12 May 2021 16:30:11 +0200 Subject: [PATCH] Format timestamps to have UTC in them, as they are UTC. --- handlers/commands/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/commands/user.js b/handlers/commands/user.js index 4f1766f..d3aeede 100644 --- a/handlers/commands/user.js +++ b/handlers/commands/user.js @@ -13,7 +13,7 @@ const { getUser, permit } = require('../../stores/user'); /** @param {Date} date */ const formatDate = date => - date && date.toISOString().slice(0, -5).replace('T', ' '); + date && date.toISOString().slice(0, -5).replace('T', ' ') + ' UTC'; /** * @param {string} defaultVal