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.

    Date in the calendar module is in the wrong format. MM/DD/YY instead of DD/MM/YY

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 638 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.
    • S Offline
      sander023
      last edited by sander023

      Hi,

      The calendar module displays the date of my calendar entries as MM/DD/YY but I want to change it into DD/MM/YY or anything used in europe.

      Things I tried:

      • I looked at the documentation (https://docs.magicmirror.builders/modules/calendar.html) and read https://momentjs.com/docs/#/parsing/string-format/.

      • In the config.js I tried the following code but it does not seem to change anything:

      config:{
          dateFormat: "DD MM YY",
          calendars: [
      
      • I also tried:
      config:{
          fullDayEventDateFormat: "DD MM YY",
          calendars: [
      

      Is there something I’m missing because I cannot figure out how to get it working.

      Thanks in advance for the help!

      Date.jpg

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

        @sander023 I put your post back, cause I want to reply for others…

        in this case, u also need timeFormat:‘absolute’,

        				dateFormat: "DD/MM/YY",
        				timeFormat:'absolute',
        				fullDayEventDateFormat:"DD/MM/YY",
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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