MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Calendar Date Formats Not Working.

    Troubleshooting
    3
    7
    280
    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.
    • J
      Jack_Barnard last edited by Jack_Barnard

      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
        sdetweil @Jack_Barnard last edited by

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

        Sam

        Create a working config
        How to add modules

        J 1 Reply Last reply Reply Quote 0
        • J
          Jack_Barnard @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
            sdetweil @Jack_Barnard last edited by

            @jack_barnard https://devhints.io/moment

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

            there are also fullDayEventDateFormat

            Sam

            Create a working config
            How to add modules

            J 1 Reply Last reply Reply Quote 0
            • J
              Jack_Barnard @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?

              Tippon 1 Reply Last reply Reply Quote 0
              • Tippon
                Tippon @Jack_Barnard 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 🙂

                J 1 Reply Last reply Reply Quote 1
                • J
                  Jack_Barnard @Tippon last edited by Jack_Barnard

                  @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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy