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.

    Calendar Overflow Issue [solved]

    Scheduled Pinned Locked Moved Bug Hunt
    12 Posts 2 Posters 7.1k Views 1 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.
    • M Offline
      MechMatt
      last edited by paviro

      I know this has been brought up before and is currently being looked at by moment.js people but I thought I could post this as a new topic so anyone that was able to find a solution or temporary work-around could help.

      The calendar module has an overflow issue with the dates which displays as follows:
      0_1462841690531_upload-185fc410-a598-4791-bab1-9c1f710cf57e

      If anyone has any thoughts on this it would be greatly appreciated. Thanks!

      1 Reply Last reply Reply Quote 0
      • MichMichM Offline
        MichMich Admin
        last edited by

        The only current ‘solution’ is using the 24 hour notation. I really hope Moment.js will save this bug asap. Rewriting all of this in a custom date formatter would be an ridiculous amount of work.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MechMatt @MichMich
          last edited by

          @MichMich how do you change the calendar to 24 hr? When i set the timeformat variable to 24 it only changes the clock and weather modules.

          1 Reply Last reply Reply Quote 0
          • MichMichM Offline
            MichMich Admin
            last edited by

            I’m sorry … just checked: the time format of the clock is tied to the language (locale). There currently is no way to change the time format of the calendar.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MechMatt @MichMich
              last edited by

              @MichMich ok. Its also worth noting that I do not have the overflow issue with the clock module in 12 hr format as others have reported. My overflow issue only affects the calendar module.

              MichMichM 1 Reply Last reply Reply Quote 0
              • MichMichM Offline
                MichMich Admin @MechMatt
                last edited by

                @MechMatt That’s correct. The clock and weather currently have a hot fix in place. (Something which is more difficult for the calendar.)

                1 Reply Last reply Reply Quote 0
                • MichMichM Offline
                  MichMich Admin
                  last edited by

                  I just pushed a possible fix for this issue. Could you give it a try?
                  (more info: https://github.com/MichMich/MagicMirror/issues/181)

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MechMatt
                    last edited by

                    awesome! I loaded it up and so far its looking good (been about an hour so far and usually the overflow problem happens within a few mins). I will leave it on for a while longer and report back if any issues come up.

                    MichMichM 1 Reply Last reply Reply Quote 0
                    • MichMichM Offline
                      MichMich Admin @MechMatt
                      last edited by

                      @MechMatt good to hear!

                      1 Reply Last reply Reply Quote 0
                      • MichMichM Offline
                        MichMich Admin
                        last edited by

                        @MechMatt: any news regarding the overflow. Is it solved?

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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