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.

    MMM-CalendarExt3

    Scheduled Pinned Locked Moved Utilities
    676 Posts 81 Posters 2.4m Views 85 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
      MMRIZE @Selph
      last edited by

      @Selph
      It is not the translation’s problem.
      This module (and agenda) depends on its internationalization to Intl internal Javascript object. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl). That is supposed to be a standard method for I18N/L10N in JavaScript world.
      But unfortunately, Chromium(Electron of MagicMirror is using it) is known to have a bug in handling Icelandic locale ‘is’ or ‘is-IS’, and not been fixed yet.
      https://support.google.com/chrome/thread/26467925/icelandic-locale-formating-wrong?hl=en

      Sorry. At this moment, I cannot help about it.

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

        @MMRIZE can he use chromium browser instead of electron to work around this issue?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil
          It’s all Chromium based browser’s issue; chrome, chromium, and even MS edge.

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

            @MMRIZE ok, no workaround…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              Well that is indeed unfortunate. Thanks for the info, I appreciate it. I guess I’ll try to hardcode the translation values into CalendarExt3.js for now.

              1 Reply Last reply Reply Quote 0
              • A Offline
                almightyyoshi @MMRIZE
                last edited by

                @MMRIZE
                Thanks for the help. I actually just had to specify singleday and fullday along with the calendar name, which I’m ashamed I didn’t think of before.

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

                  @MMRIZE Sorry if this has already been reported: I just installed MMM-CalendarExt3 and it appears to be listing my calendar events (Google Calendar .ics) in reverse order (events on each day are listed from latest to earliest). Not sure what additional information is helpful, but I’m using month view, locale is en-US, using timeFormat: 12, and this is all that’s in my module config:

                                {
                  			module: "MMM-CalendarExt3",
                  			position: "bottom_center",
                  			title: "",
                  			config: {
                  				mode: "month",
                  				instanceId: "basicCalendar",
                  				locale: 'en-US',
                  				maxEventLines: 5,
                  				firstDayOfWeek: 1,
                  				calendarSet: ['work', 'home', 'us-holidays', "leisure"],
                  			}
                  		},
                  

                  Any idea what might be happening? Thank you!

                  S 1 Reply Last reply Reply Quote 0
                  • S sfb referenced this topic on
                  • S Offline
                    sfb @sfb
                    last edited by

                    @MMRIZE I found the discrepancy! It show up in the correct order on Chromium based browsers, however is in the reverse order when viewed on Firefox.

                    @sfb said in MMM-CalendarExt3:

                    @MMRIZE Sorry if this has already been reported: I just installed MMM-CalendarExt3 and it appears to be listing my calendar events (Google Calendar .ics) in reverse order (events on each day are listed from latest to earliest). Not sure what additional information is helpful, but I’m using month view, locale is en-US, using timeFormat: 12, and this is all that’s in my module config:

                                  {
                    			module: "MMM-CalendarExt3",
                    			position: "bottom_center",
                    			title: "",
                    			config: {
                    				mode: "month",
                    				instanceId: "basicCalendar",
                    				locale: 'en-US',
                    				maxEventLines: 5,
                    				firstDayOfWeek: 1,
                    				calendarSet: ['work', 'home', 'us-holidays', "leisure"],
                    			}
                    		},
                    

                    Any idea what might be happening? Thank you!

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @sfb
                      last edited by

                      @sfb
                      interesting symptom.
                      I suspect some CSS property compatibility issues.(maybe -webkit and -moz diffrence) I’ll look inside at what happens in Firefox. Anyway, MM is supposed to work on Electron in standalone mode, So I regard Chromium as a de facto standard environment of MM.

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

                        @MMRIZE Thanks for looking into it! Totally understandable. I’ve been testing MM serving from a docker container and viewed in various environments, so it’s not a typical setup.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 6
                        • 7
                        • 8
                        • 9
                        • 10
                        • 67
                        • 68
                        • 8 / 68
                        • 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