• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.6k 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.
  • M Offline
    MMRIZE @1a2a3a
    last edited by MMRIZE Nov 30, 2023, 11:49 PM Nov 30, 2023, 11:44 PM

    @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 Dec 1, 2023, 1:09 AM Reply Quote 0
    • 1 Offline
      1a2a3a @MMRIZE
      last edited by Dec 1, 2023, 1:09 AM

      @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 Dec 1, 2023, 5:56 AM Reply Quote 0
      • M Offline
        MMRIZE @1a2a3a
        last edited by Dec 1, 2023, 5:56 AM

        @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 Dec 1, 2023, 6:01 AM Reply Quote 0
        • 1 Offline
          1a2a3a @MMRIZE
          last edited by Dec 1, 2023, 6:01 AM

          @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 Dec 1, 2023, 6:08 AM Reply Quote 0
          • 1 Offline
            1a2a3a @1a2a3a
            last edited by 1a2a3a Dec 1, 2023, 6:17 AM Dec 1, 2023, 6:08 AM

            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 Dec 1, 2023, 6:18 AM

              @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 Dec 1, 2023, 9:31 AM Reply Quote 0
              • M Offline
                MMRIZE @1a2a3a
                last edited by Dec 1, 2023, 9:31 AM

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

                1 1 Reply Last reply Dec 1, 2023, 9:45 AM Reply Quote 0
                • 1 Offline
                  1a2a3a @MMRIZE
                  last edited by Dec 1, 2023, 9:45 AM

                  @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 Dec 1, 2023, 10:12 AM Reply Quote 0
                  • M Offline
                    MMRIZE @1a2a3a
                    last edited by Dec 1, 2023, 10:12 AM

                    @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 Offline
                      1a2a3a
                      last edited by Dec 1, 2023, 10:50 AM

                      Anybody has an idea how to change the default cal?

                      M 1 Reply Last reply Dec 1, 2023, 11:12 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/18
                        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