LeaPhant / flowabot

Modular Discord bot with fun features including twitch commands and advanced osu! commands. 🌷
MIT License
111 stars 33 forks source link

Timestamp on recent score is wrong #24

Closed Maaster closed 5 years ago

Maaster commented 5 years ago

Maybe a timezone error?

!rs

is returning "in an hour" for the time that play was made

See: https://puu.sh/DUstw/28b1ba4960.png

LeaPhant commented 5 years ago

Weird, I've never had this happen and the API usually returns UTC timestamps. Maybe a bug from Moment.js? What you could do is check whether running date on the server matches your local time and maybe it doesn't which could cause the bug, although it shouldn't.

Maaster commented 5 years ago

I feel dumb, that was it! Thanks :)