BulletBot icon indicating copy to clipboard operation
BulletBot copied to clipboard

Dateformat doesn't output in UTC

Open Jet132 opened this issue 5 years ago • 1 comments

Describe the bug The format string defined in time.ts doesn't have a UTC: prefix and because of that dateformat outputs the time in the timezone of the bot.

To Reproduce Steps to reproduce the behavior:

  1. Do ?!whois and you will see the join time is (in the case of the main bot) one hour off of when you actually joined

Expected behavior Should return the time always in UTC.

Extra things when fixing this bug At the same time, the date format could actually be improved so it is obvious what number the day and what the month is.

Jet132 avatar Feb 11 '20 18:02 Jet132

A suggestion made by the the_killerbanana#8352 is very similar if not the same to this: add the timezone (in UTC + x or GMT + x) to all times to make it clearer

StrangeRanger avatar Mar 07 '20 07:03 StrangeRanger