2
0
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:
Martin Rys 2021-05-12 16:30:11 +02:00
parent 9ab18ada0c
commit f522ecd923

View File

@ -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