Intelligent Fig
Intelligent Fig•10mo ago

I found this quick bug in the dashboard

I found this quick bug in the dashboard UI (modal won't close)
18 Replies
Michal Srb
Michal Srb•10mo ago
We have fixed this issue.
Intelligent Fig
Intelligent FigOP•10mo ago
@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.
ari
ari•10mo ago
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 🙂
Intelligent Fig
Intelligent FigOP•10mo ago
Interesting. Yes, toLocaleString() returns one hour back as you said (01/04/2024, 21:18:56')
Intelligent Fig
Intelligent FigOP•10mo ago
No description
Intelligent Fig
Intelligent FigOP•10mo ago
No description
ari
ari•10mo ago
Ah weird, could it be your browser-specific settings? which browser is it?
Intelligent Fig
Intelligent FigOP•10mo ago
No description
Intelligent Fig
Intelligent FigOP•10mo ago
Chrome
ari
ari•10mo ago
I assume your window.navigator.language is en-GB?
Intelligent Fig
Intelligent FigOP•10mo ago
Yep. and no sensors activated.
No description
ari
ari•10mo ago
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 configuration
Intelligent Fig
Intelligent FigOP•10mo ago
I figured it out
ari
ari•10mo ago
ah nice, i was just typing up some ideas! what was it
Intelligent Fig
Intelligent FigOP•10mo ago
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.
ari
ari•10mo ago
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
ari
ari•10mo ago
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
Intelligent Fig
Intelligent FigOP•10mo ago
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!

Did you find this page helpful?