MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    SOLVED Name-Day

    Requests
    4
    25
    5292
    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.
    • Maros
      Maros last edited by

      Hi is there possibility to create easy module that will show name in current day ?

      I’m from Slovakia and everyday is different name in calendar.

      Here is the list of names and dates but i don’t know how to create module that will show name of current day and maybe also upcomming.

      i found this : https://gist.github.com/igorkulman/8566540 where are all names but i don’t know how to create module.

      Can you please help me ?

      Thank you

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User last edited by

        Like this?

        0_1532531630583_screenshot.jpg

        I haven’t fully tested it. Tell me errors.

        There are some undefined dates, like 01 Jan., I don’t know Slovak calendar system, so I cannot define them. You’d better fulfill missed dates by yourself.

        Maros 1 Reply Last reply Reply Quote 4
        • ?
          A Former User @Maros last edited by

          @maros
          So, where do you want to display the name of day? In clock module?

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User last edited by A Former User

            I think the easist way is to import publicMeniny ics url to calendar module.
            I’ve found one of them : https://calendar.zoznam.sk/icalendar/ical-sk.php

            1 Reply Last reply Reply Quote 0
            • Maros
              Maros last edited by Maros

              it can be under time (clock) where i can add some text and after there will be shown name like :
              Today is < name >

              i’ve tried with downloading ics and putting new calendar entry … it’s working, but it’s not so nice as i imagine …

              after Name there is end in 9 hours …

              i would prefer to have it like :

              Today is < NAME >
              Tomorrow is < NAME >

              1 Reply Last reply Reply Quote 1
              • ?
                A Former User last edited by

                Like this?

                0_1532531630583_screenshot.jpg

                I haven’t fully tested it. Tell me errors.

                There are some undefined dates, like 01 Jan., I don’t know Slovak calendar system, so I cannot define them. You’d better fulfill missed dates by yourself.

                Maros 1 Reply Last reply Reply Quote 4
                • Maros
                  Maros @Guest last edited by

                  @sean yes this looks great 🙂
                  1.1 is bank holiday and there is no name in calendar

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @Maros last edited by

                    @maros
                    I didn’t know how to name the 1.1 or any other missing dates(like 12.25), so, it will be displayed as ‘undefined’. You should add your own day name to them. (open the source and add it by yourself, not difficult.)

                    Maros 1 Reply Last reply Reply Quote 0
                    • Maros
                      Maros @Guest last edited by

                      @sean ok thank you i will add all missing dates 🙂 thank you for your great work 😉

                      1 Reply Last reply Reply Quote 0
                      • Mykle1
                        Mykle1 Project Sponsor Module Developer last edited by

                        Sean is the man! 🙂

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • Maros
                          Maros last edited by

                          @Sean i’ve added missing dates :

                          0101 - Nový Rok
                          0501 - Sviatok práce
                          1225 - 1. Sviatok Vianočný

                          and i’ve changed Today is and Tomorrow is to :
                          Dnes má meniny …
                          Zajtra má meniny …

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