You are reading a single comment by @DerGuteWolf and its replies.
Click here to read the full conversation.
-
You can't simply "detect the location and convert the time to local timezone", this is a bigger problem. There is eg. an google maps api to do this (https://developers.google.com/maps/documentation/timezone/)
I mean to get time from GPS.
The clock get its time from GPS when started or re-started (bootloader.js)
Here g.time returns an time object in UTC, which I guess is fine.
My assumption was the GPS will detect the location and convert the time to local timezone. But I may be wrong...
Another though, can we have event emitter defined in bootloader.js that emit global events when-
Any app will subscribe to these events to process the clock time update.
This way we don't have to write separate timers in clock app to capture the time update.
what is "The GPS Time app"