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 Date Formats Not Working.

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 3 Posters 775 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.
    • ? Offline
      A Former User
      last edited by A Former User

      Module = Calendar
      Issue = Trying to get the date format is DD/MM/YYYY currently in default even when specified not to. Don’t know if I am incorrectly specifying.
      Current Module Config = {
      module: “calendar”,
      header: “My Calendar”,
      position: “top_left”,
      config: {
      maximumEntries: “6”,
      maximumNumberOfDays: “7”,
      wrapEvents: “true”,
      maxTitleLines: “2”,
      fadePoint: “1”,
      dateFormat: “Do MMM”,
      hideTime: “true”,
      fetchInterval: “60000”,
      calendars: [
      {
      symbol: “calendar-check”,
      url: “webcal://p39-caldav.icloud.com/published/2/MTExNjgwMjM2NTExMTE2OIZFb1PsCmMo3ecwDd6H7xOGtd_rniDwbBvisBnUUbTo”
      },
      {
      symbol: “calendar-check”,
      url: “webcal://p39-caldav.icloud.com/published/2/MTExNjgwMjM2NTExMTE2OIZFb1PsCmMo3ecwDd6H7xPI-y3Ntq2MNAzfi5poNWuySmEYsiAGaraNGLnR7zZorrG5xXn8wrtERNCCDMDMxcw”
      }
      ]
      }
      }

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

        @jack_barnard must use tineFormat: ‘absolute’ to turn on those controls

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @sdetweil
          last edited by

          @sdetweil
          Thanks that has helped a bit but the date still won’t display in DD/MM/YYYY which should the value be for dateFormat: “”?

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

            @jack_barnard https://devhints.io/moment

            https://docs.magicmirror.builders/modules/calendar.html

            there are also fullDayEventDateFormat

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            ? 1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User @sdetweil
              last edited by

              @sdetweil
              Thanks for pointing me in the right direction but I don’t understand the moments formating for dates could you explain further on how to setup the correct format?

              TipponT 1 Reply Last reply Reply Quote 0
              • TipponT Offline
                Tippon @Guest
                last edited by

                @jack_barnard I’ve got mine setup like this:

                        timeFormat: 'absolute',
                        dateFormat: 'DD/MM/YYYY',
                        fullDayEventDateFormat: 'DD/MM/YYYY',
                

                Hope this helps :)

                Please forgive me if I'm slow to reply, I'm currently experiencing memory issues, and sometimes forget that I've asked a question >.<

                ? 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User @Tippon
                  last edited by A Former User

                  @tippon
                  Thanks this now working perfectly.

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