I found this quick bug in the dashboard
I found this quick bug in the dashboard UI (modal won't close)
18 Replies
We have fixed this issue.
@Michal Srb
Thanks for fixing it. I also found another critical bug.
So I live in the in the UK, and the current time is 22:09. but when i trigger some function, the time in the dashbaord's logs appear to be 1 hour back (eg. 01/04/2024, 21:09:42).
It seems like Convex may not be considering the day light savings. so worth looking into it.
Heya @Intelligent Fig , thanks for the report. The dashboard displays time configured to the settings of your machine. If you type
new Date().toLocaleString()
in your browser console, do you see the correct time, or also 1 hour back?
We have a task backlogged to generally make it clearer what the timezone of timestamps are, so this report also bumps up the priority on that 🙂Interesting.
Yes, toLocaleString() returns one hour back as you said (01/04/2024, 21:18:56')
Ah weird, could it be your browser-specific settings? which browser is it?
Chrome
I assume your
window.navigator.language
is en-GB
?Yep. and no sensors activated.
Odd, with my location sensor set to London I get the current time (22:28 at time of writing). My
Intl.DateTimeFormat().resolvedOptions().timeZone
is Europe/London
This generally does surface the issue that it's not clear what timezone you're looking at with our timestamps. A lot of logging products show UTC by default which also adds confusion! We'll do some work to make it clearer regardless of browser configurationI figured it out
ah nice, i was just typing up some ideas! what was it
It is something to do with my browser (Chrome).
I just opened Convex dashbaord in my Safari browser and the logs are showing accurate time. (and even my safari's console statement
new Date().toLocaleString()
returned correct time.
So maybe i just need to update chrome to latest version or remove some extensions and see.This page had some tips on why chrome might be confused: https://www.expressvpn.com/blog/how-does-google-know-your-location-when-vpn-on
If you're logged into google in your chrome profile, i'd also check what your address is set to: https://myaccount.google.com/personal-info
My Chrome's incognito mode returns correct time as well. So it must be something to do with either my account info or some extensions.
I will figure this out later. thank you!