You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered that function for adding holidays automatically isn't working well. For example in Poland all holidays ends in 2020. I've seen that you are using ICS files for that with hard-coded holidays - maybe it would be good to change this approach? I was thinking about generating holidays automatically for a given year or period of time.
I don't know if there is something like that for Java/Kotlin (I'm not into this environment), but for example in JS world there is a date-holidays library that does the job of generating holidays without internet connection for nearly 200 countries and even acknowledges differences in holidays between regions in one country (e.g. different states in the USA can have some holidays different). Maybe there is something like this available to use in Android?
If there isn't anything like this for Java/Kotlin, maybe it would be good to take a look how this JS library handles generating dates. They have a lot of YAML files for each country with written down dates of holidays or ways to count holidays (e.g. 1st monday of March or something like easter 60 to annotate 60 days after Easter). They also have ways to count moving holidays that depends on the Moon (like Easter, Arabic holidays etc.) or something different.
I think that this kind of feature would be a good addition to the calendar. It still would be simple (you don't need to cover all countries, can be the same set as there is already), but there wouldn't be a need to change ICS files after few years.
Thanks for a good work!
The text was updated successfully, but these errors were encountered:
True, I thought this was the best way of linking them, as my issue got closed instantly even though i believe there was some merit to it.
However, i do believe it is very much related because generating holiday lists and a calendar app are two different purposes that should be separated. Reliable, free holiday lists are a feature many could profit from, not only this app.
Hi!
I've encountered that function for adding holidays automatically isn't working well. For example in Poland all holidays ends in 2020. I've seen that you are using ICS files for that with hard-coded holidays - maybe it would be good to change this approach? I was thinking about generating holidays automatically for a given year or period of time.
I don't know if there is something like that for Java/Kotlin (I'm not into this environment), but for example in JS world there is a date-holidays library that does the job of generating holidays without internet connection for nearly 200 countries and even acknowledges differences in holidays between regions in one country (e.g. different states in the USA can have some holidays different). Maybe there is something like this available to use in Android?
If there isn't anything like this for Java/Kotlin, maybe it would be good to take a look how this JS library handles generating dates. They have a lot of YAML files for each country with written down dates of holidays or ways to count holidays (e.g.
1st monday of March
or something likeeaster 60
to annotate 60 days after Easter). They also have ways to count moving holidays that depends on the Moon (like Easter, Arabic holidays etc.) or something different.I think that this kind of feature would be a good addition to the calendar. It still would be simple (you don't need to cover all countries, can be the same set as there is already), but there wouldn't be a need to change ICS files after few years.
Thanks for a good work!
The text was updated successfully, but these errors were encountered: