Open deanfourie1 opened 8 months ago
Hi @deanfourie1 .. I had same pb. Checking the code, the local time is set when Wheather API call is success. So we have to specify the long/lat AND have a valid/activated OWMAPIKEY.
You can have a free one following this ;
Creating an Open Weather account
Creating an API key Weather forecasts can only be accessed using an API access key (the requiered OWMAPIKEY API key). To generate your Open Weather API key:
Copy this key and paste it into the jump configuration (OWMAPAPIKEY env var)
The time should now be set (remove all presiously cookies from your browser..).
Thanks for this.
This is stupid.
Why not just use the system locale.
In my case, I host a lot of my services hosted on a VLAN without internet connection. What is the need to query an external API for time? I understand to pull weather but I don't even use that feature.
Surely there's a way to pull the time from the system?
It should use the client local timezone if you do not use an OWMAPIKEY... https://github.com/daledavies/jump/blob/main/jumpapp/assets/js/src/classes/Clock.js#L74
Thanks, I just checked this and my date and time was wrong, however,
After changing to the correct time zone,
Tue Apr 16 21:54:55 NZST 2024
It is still showing the wrong time after a full host reboot.
Thanks, appreciate the help!
Where does jump get its time from?
Its 12 hours our for me, PM when its AM here. Any way to change, sorry im sure its a easy one.
Have tried setting long/lat