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.

    Default Calendar adjustment

    Scheduled Pinned Locked Moved Troubleshooting
    5 Posts 3 Posters 2.3k 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
      surger13 Project Sponsor
      last edited by

      Hello,
      first of all thanks to all who are involved here, I am impressed. With the help of the forum I have build a MM and installed the software as noob. But I can read English better than write, so I apologize that I use the help of google to post here. ;)

      A question about the default calendar module. How can I display a relative date without the word “um” (in english “at”)? Someone has an idea?

      0_1502048581963_IMG_0435.PNG

      Dirk

      1 Reply Last reply Reply Quote 0
      • B Offline
        barnosch
        last edited by

        Hi Dirk,

        is it the standard calender module?
        where does you source come from? Where do you get this information from?
        I am also interested in a module like this and could look into it aswell.

        Ist das das Standard Kalender Modul? Wo ist deine Quelle?
        Wäre auch an dem Modul interessiert und könnte es mir dann genauer anschauen

        1 Reply Last reply Reply Quote 0
        • S Offline
          surger13 Project Sponsor
          last edited by

          Hello barnosch,
          it is the default calendar module from MagicMirror.

          Dirk

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            roramirez Core Contributors @surger13
            last edited by

            @surger13 That part is controller by moment.js. It’s not possible configurated. Only way to make this is change the source code of calendar.js in the module directory.

            Easy module development with MagicMirror Module Template

            1 Reply Last reply Reply Quote 0
            • S Offline
              surger13 Project Sponsor
              last edited by

              Two years later… :)

              After updating to MM 2.10, I noticed again that the “um” or “at” still bothers me and makes the calendar entries unnecessarily wide.
              Does anybody have another idea or a tip, what exactly should be changed in the calendar.js to remove it?

              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