LeaPhant / flowabot

Modular Discord bot with fun features including twitch commands and advanced osu! commands. 🌷

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timestamp on recent score is wrong

Maaster opened this issue · comments

Maybe a timezone error?

!rs

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

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

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.

I feel dumb, that was it!
Thanks :)