MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MagicMirror using the wrong time

    Scheduled Pinned Locked Moved Solved Troubleshooting
    54 Posts 6 Posters 22.4k Views 6 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 Offline
      sdetweil @blissb
      last edited by

      @blissb how about thru the preferences, in the menu, top left on the desktop
      this is a pi, yes?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 2 Replies Last reply Reply Quote 0
      • B Offline
        blissb @sdetweil
        last edited by

        @sdetweil
        I know I haven’t said it, but I really appreciate you looking at this… it’s been driving me nuts since the last update messed things up.

        I just tested hard-coding the timezone in calendarfetcherutils.js – replaced “moment.tz.guess()” with “America/New_York” on line 29. That has removed the “Lima” entries in the debug log, but it has not corrected the time issue.

        Yes, I’m running on a Pi. Here’s what’s in preferences:
        desktop.png

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @blissb
          last edited by

          @blissb what is the locale above the tz?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            blissb @sdetweil
            last edited by

            @sdetweil

            On my second MagicMirror I restored the backup of the last version of MM, and made no other changes. The debug info shows no instances of the “lima” timezone, and all times are correct.

            I went back to the most recent version, reran with debug, and the “Lima” instance is back, as are the wrong times.

            I’ll be reverting to the previous version of MM for the moment, but please let me know if there’s anything else I can do to help with troubleshooting this really annoying issue!

            S 1 Reply Last reply Reply Quote 0
            • B Offline
              blissb @sdetweil
              last edited by

              @sdetweil
              Locale is:
              2023-11-19-203837_800x480_scrot.png

              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @blissb
                last edited by

                @blissb great info!!! thanks.
                this sounds like a bad moment lib.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @sdetweil
                  last edited by

                  @blissb can you show me the list of active modules, in the order in config.js

                  thx

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    blissb @sdetweil
                    last edited by

                    @sdetweil

                    Is there an easier way to get them other than just scrolling through the config.js?

                    Modules in order:
                    alert
                    clock (correct after adding the timezone: option)
                    calendar
                    weather (Sunrise time is also 5 hours off - sorry if I failed to mention that earlier)

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @blissb
                      last edited by

                      @blissb you could grep for ‘module:’

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        blissb @sdetweil
                        last edited by

                        @sdetweil
                        Doh!
                        smh.png

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 5 / 6
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy