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.

    Help with date format MMM-CalendarExt3

    Scheduled Pinned Locked Moved Solved Troubleshooting
    18 Posts 2 Posters 3.2k 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.
    • 1 Offline
      1a2a3a
      last edited by sdetweil

      Hi all, need help changing the date format here please.
      I’m running mmm calendarext3 ( with the default calendar hidden) and ext3agenda (with the default calendar showing holiday).

      My date is currently November 30. Am trying to get it to show 30 November across the board.

      I have tried changing time format to absolute and changing date format to desire but nothing works.
      Next tried changing the locale to say FR, the date format changed but it’s in French.

      Any ideas?

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

        @1a2a3a
        You can set a locale as “en-GB” to get English, DD MM.
        Then to get Week starting from Sunday, you can adjust “firstDayOfWeek:0".

        1 2 Replies Last reply Reply Quote 0
        • M Offline
          MMRIZE @1a2a3a
          last edited by MMRIZE

          @1a2a3a
          What is your locale? I mean Which country are you living in? Or what cultural or lingual base?
          For example I’m a Korean living in Germany but cannit speak German.
          So in my case, I set MM’s default language as “en” but, with the “en” locale, calendar system of CX3 will follow US style, not International standard.(In the US, The week will start from Sunday, The first week of year will start from 1.Jan. General date format will be mm dd yyyy)
          Therefore I set the locale of CX3 as “en-GB”, because I need English version ISO type calendar (The week will start from Monday, first week of year should include 4. Jan. and General date format will be dd mm yyyy.)

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

            @MMRIZE singapore with english. i would want the general general data format to be dd mm yyyy and sunday is the start of the week.

            so i tried setting in cx3 config locale = en-gb or en-sg, and nothing’s changed…

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

              @1a2a3a
              You can set a locale as “en-GB” to get English, DD MM.
              Then to get Week starting from Sunday, you can adjust “firstDayOfWeek:0".

              1 2 Replies Last reply Reply Quote 0
              • 1 Offline
                1a2a3a @MMRIZE
                last edited by

                @MMRIZE so under the let config at the top section, i leave language and locale as default ya?
                language: “en”,
                locale: “en-US”,
                logLevel: [“INFO”, “LOG”, “WARN”, “ERROR”], // Add “DEBUG” for even more logging
                timeFormat: “24”,

                then in cx3 config i insert -
                module: “MMM-CalendarExt3”,
                position: “bottom_bar”,
                title: “”,
                config: {
                locale: “en-GB”,

                but nothing’s changed…

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

                  scratch that. managed to get cx3 and agenda to display correctly.

                  im now left with the overall date and the calendar module that doesnt sems to work…

                  i circled them in red both on the right. the red circle is abit light on the black background

                  mm.jpg

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

                    @MMRIZE ok almost there. overall date has been changed as well.

                    all thats is left is the holiday on the right…

                    mm.jpg

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

                      @1a2a3a
                      dateFormat : "Do MMM", for the default calendar config, maybe. I hope so…

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

                        @MMRIZE it doesnt work. i have tried timeFormat to absolute as well.
                        tried inputting locale to default calendar module as well.
                        all doesnt work.

                        btw the default calendar module is part of your cx3. in your cx3 it requires the configuration of default cal module.

                        for the cx3agenda, i have hidden the default cal module.

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

                          @1a2a3a
                          The default calendar is not part of mine. My module just use it’s broadcasted event list. So mines are dependent to that module, but its working is not my responsibility.

                          To hide some module, set CSS as display:none for that module, or just remove position from config.

                          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