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.

    set the calendar day to a short version

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    17 Posts 4 Posters 3.5k Views 4 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
      skyzuma @sdetweil
      last edited by

      thats correct but i need ONLY a short day name for an event with an time. the next event is “Friday at 15:30” … but i need “Fri at 15:30” - its “ddd” - but where i set this? i cant change “dateFormat” or “dateEndFormat” that will change ALL i think

      MMM Do is important for evnets in a few weeks / month like “May 14th”
      LT is ONLY the time on an event on a day

      i think this cant change in the config.js … i think this need to be changed in the source code or maybe as an option, idk …

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

        i think my “problem” is on calendar.js:455 - nextWeek: “dddd” … this need an option to set this to “ddd” for a short version … ive testet it to set this in config.js but there are no changes after MM restart …

        S 3 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @skyzuma
          last edited by

          @skyzuma show the config.js settings for calendar, xxx out the url but dont change anything else

          there are 3 format

          dateFormat is the event START date/time, when NOT a full day event
          dateEndFormat is event END date/time, when NOT a full day event
          fullDateFormat is for the date when the event IS a full date event (has no time)

          spelling case matters. mm is case sensitive

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @skyzuma said in set the calendar day to a short version:

            nextWeek: “dddd” … this need an option to set this to “ddd

            open an issue on github for magicmirror

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @skyzuma said in set the calendar day to a short version:

              ive testet it to set this in config.js but there are no changes after MM restar

              yes, only variables defined in the defaults section of the modulename.js are addressable and over-ridable via config.js

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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