Read the statement by Michael Teeuw here.
Name-Day
-
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
-
Like this?
[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. -
@maros
So, where do you want to display the name of day? Inclock
module? -
I think the easist way is to import public
Meniny
ics url tocalendar
module.
I’ve found one of them : https://calendar.zoznam.sk/icalendar/ical-sk.php -
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 > -
Like this?
[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. -
@sean yes this looks great :)
1.1 is bank holiday and there is no name in calendar -
@maros
I didn’t know how to name the1.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.) -
@sean ok thank you i will add all missing dates :) thank you for your great work ;)
-
Sean is the man! :-)
-
@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 …