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.

    Name-Day

    Scheduled Pinned Locked Moved Solved Requests
    25 Posts 4 Posters 9.3k 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.
    • MarosM Offline
      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
      • ? Offline
        A Former User
        last edited by

        Like this?

        0_1532531630583_screenshot.jpg

        [card:eouia/MMM-Meniny]

        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.

        MarosM 1 Reply Last reply Reply Quote 4
        • MarosM Offline
          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
          • ? Offline
            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.)

            MarosM 1 Reply Last reply Reply Quote 0
            • MarosM Offline
              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
              • Mykle1M Offline
                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
                • MarosM Offline
                  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
                  • ? Offline
                    A Former User @Maros
                    last edited by A Former User

                    @maros Good. It’s yours. :D
                    I think there might be needed also “0229”.

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

                      this date is only every 4 years :)

                      At this date is : Radomír

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

                        @maros
                        By the way, All Slovak people get his/her name from the name of the birthday?
                        It means, Maros, are you born at 11.11 ? (Because, My son has the same birthday, so his baptismal name is “Martin”)

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

                          @Sean no :)

                          name is choosen by parents as they want (they can choose also name that is not in our calendar but then it’s more problematic for child to celebrate his/her nameday)

                          but we celebrate 2 dates in 1 year every year :)

                          1 birthday
                          2 name day

                          it’s also in other countries (Czech republic, Hungary, Poland, …)

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

                            @Sean hi i just noticed one problem with module. I’ve put mirror on the wall so it’s on permanently only turning off hdmi power via crontab at some times.

                            Everything goes fine but modul isn’t updated from yesterday.
                            Today it’s 4.8 - dominik, dominika
                            But mirror still show that it’s Jergus and tomorrow will be dominik, dominika …

                            Date on mirror is correct 4.8

                            Do you know what’s the problem ?

                            ? 2 Replies Last reply Reply Quote 0
                            • ? Offline
                              A Former User @Maros
                              last edited by

                              @maros every 00:00 it will be refreshed. But there could be abnormal interrupt refreshing. I’all add more often refreshing. Please wait for a while.

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

                                @maros fixed. git pull again. Now your module will be refreshed every 60 sec.

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

                                  @sean Great thank you :)

                                  only one think i see that in your MMM-Meniny.js are still missing dates mentioned before (i’ve updated it in mine)

                                  “0101”: “Nový Rok”,
                                  “0229”: “Radomír”,
                                  “0501”: “Sviatok práce”,
                                  “1225”: “1. Sviatok Vianočný”,

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

                                    @Sean it’s still not updating correctly.
                                    Today is 5.8 and on module it’s still dominik, dominika … :(

                                    Can you please check one more time ?

                                    Thank you

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

                                      @maros sorry. try again please.

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

                                        @sean ok i will test and let you know tomorrow if name was updated automatically.

                                        But can you please update also the 4 days that are missing ?

                                        I’m updating still with :
                                        git reset --hart
                                        git pull

                                        as only git pull is giving me information that my local MMM-Meniny.js is different from yours and it’s only because i’ve added missing 4 dates.

                                        Thank you :)

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

                                          @maros missed 4 dates are also added.

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

                                            @sean it looks like it’s working today in the morning name was updated.

                                            Thank you ;) great work :)

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 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