cubing / cubingcontests.com

A place for hosting results from unofficial Rubik's cube competitions
https://cubingcontests.com
GNU General Public License v3.0
7 stars 1 forks source link

Time input changes on completion #5

Open kr-matthews opened 9 months ago

kr-matthews commented 9 months ago

When entering a time, it subtracts one day on completion: image image It's also very annoying that you can't edit individual digits and need to backspace to the spot you want to edit.

dmint789 commented 8 months ago

I'll add the navigation using arrows, that part is pretty easy, but the bug is strange, I dunno if I've seen this happen myself. Will have to try to recreate it.

dmint789 commented 8 months ago

Most likely a time zone issue

dmint789 commented 8 months ago

@kr-matthews the input has been updated. It now allows to move the cursor and erase any character, but I was unable to recreate the main issue with the date changing at the end. I tried to fix it, but I dunno if that will work on your end. Can you try again to see if the bug is still there? Would be best if you tested it at different times of day, 12 hours apart.

kr-matthews commented 8 months ago

Still not resolved at 20:00 UTC-8. I'll check tomorrow morning (edit: still an issue at 08:20 UTC-8), but I'm pretty sure it's because the input creates a date at midnight UTC then displays it in my timezone (regardless of the current time of day).

Is this date at https://cubingcontests.com/records/extremebld displaying the correct day? image

dmint789 commented 8 months ago

Is this date at https://cubingcontests.com/records/extremebld displaying the correct day?

Yes, the video was posted on that date. The issue seems to be isolated here. I'll have to look more into why this is happening.