• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 7.2k 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.
  • M Offline
    Maros
    last edited by Jul 25, 2018, 12:00 PM

    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 Jul 25, 2018, 12:17 PM Reply Quote 0
    • ? Offline
      A Former User
      last edited by Jul 25, 2018, 3:15 PM

      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.

      M 1 Reply Last reply Jul 25, 2018, 6:30 PM Reply Quote 4
      • ? Offline
        A Former User @Maros
        last edited by Jul 25, 2018, 12:17 PM

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

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User Jul 25, 2018, 12:21 PM Jul 25, 2018, 12:21 PM

          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
          • M Offline
            Maros
            last edited by Maros Jul 25, 2018, 12:53 PM Jul 25, 2018, 12:44 PM

            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 Jul 25, 2018, 3:15 PM

              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.

              M 1 Reply Last reply Jul 25, 2018, 6:30 PM Reply Quote 4
              • M Offline
                Maros @Guest
                last edited by Jul 25, 2018, 6:30 PM

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

                ? 1 Reply Last reply Jul 25, 2018, 6:33 PM Reply Quote 0
                • ? Offline
                  A Former User @Maros
                  last edited by Jul 25, 2018, 6:33 PM

                  @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.)

                  M 1 Reply Last reply Jul 25, 2018, 9:05 PM Reply Quote 0
                  • M Offline
                    Maros @Guest
                    last edited by Jul 25, 2018, 9:05 PM

                    @sean ok thank you i will add all missing dates :) thank you for your great work ;)

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer
                      last edited by Jul 25, 2018, 9:07 PM

                      Sean is the man! :-)

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        Maros
                        last edited by Jul 26, 2018, 7:23 AM

                        @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 Jul 26, 2018, 7:26 AM Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        1 / 3
                        • First post
                          2/25
                          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