f.lux f.lux forum
    • Recent
    • Popular
    • Register
    • Login

    Bug: local time confused by time zone

    Scheduled Pinned Locked Moved macOS
    locationtimezone
    2 Posts 2 Posters 1.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      seanc
      last edited by

      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.

      1 Reply Last reply
      Reply Quote 0
      • herfH
        herf
        last edited by herf

        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.html

        So 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.

        1 Reply Last reply
        Reply Quote 0

        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
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors