BulletBot
BulletBot copied to clipboard
Dateformat doesn't output in UTC
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:
- Do
?!whoisand 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.
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