[Bot Issue] `netinfo` datetimes completely off the scale
Closed this issue · 0 comments
lifehackerhansol commented
Issue Description
I live in Pacific Time, so in theory, Discord's local timestamp feature should show the exact same time as Nintendo's website.
Notes
This needs to be converted to UTC, and then converted to Discord's timestamp.
I also fixed this in the DSi server's bot (shamelessly taken from Kurisu lol), here's a snippet:
https://github.com/DS-Homebrew/TWLHelper/blob/0320376992f350eff3839e58ab25d359781bdf4b/cogs/general.py#L43-L49
https://github.com/DS-Homebrew/TWLHelper/blob/0320376992f350eff3839e58ab25d359781bdf4b/cogs/general.py#L355-L402