Bug: local time confused by time zone
-
Sometimes I need to change my system clock to a non-local time zone, but this confuses Flux. For example, at 4pm in Los Angeles in the summer it is 11pm GMT. If I set my system clock to GMT with
sudo systemsetup -settimezone GMT, Flux will ask if my location has changed. I can confirm my location is still Los Angeles (longitude around -120º), but flux still reacts as if it's nearly midnight. In short, Flux doesn't seem to account for the OS timezone when asking the OS what time it is. -
We do all our internals in GMT/UTC so if the sum of time zone and wall-clock time is correct, it should keep working.
Here is a tester script to compare with our server:
https://justgetflux.com/timesync.htmlSo yes, if "UTC time" in the OS is wrong, we will transition at the wrong time.
We only use tz changes as a cue to adjust location (like for traveling between timezones), but cancelling this dialog is just fine too.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login