mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-29 13:17:56 +00:00
Format timestamps to have UTC in them, as they are UTC.
This commit is contained in:
parent
9ab18ada0c
commit
f522ecd923
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user