Navigation

    MagicMirror Forum

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

    UNSOLVED default calendar - change date format for today/tomorrow events

    Troubleshooting
    1
    1
    580
    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.
    • spitzlbergerj
      spitzlbergerj Project Sponsor last edited by

      Hi
      beforehand - I am a python beginner. Be nice 😉

      I want to change the display format of the date. My MagicMirror runs in German.

      Instead of “today at xx.xx clock” or in German “Heute um xx.xx Uhr” only “xx.xx” should be displayed, as with later events in a few days. And instead of “Morgen um xx.xx Uhr” you should also see “xx.xx”.

      In the translations, I first tried to set the translation of “today” and “tomorrow” to “”. Apparently, translation is not used by the calendar module. It was already clear to me that there must be something else because a translation of “at” or “um” did not occur.

      So it’s probably a formatting function in python. But I fail.

      Can someone help me?

      And then another question, since I am also a github freshman. Should / can I make such a new version of Calendar available to all and if so, how do I do that.

      thank you very much

      greetings
      Sepp

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