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
The intended meaning is
N - national (missing means, that this holiday is defined for specific regions only)
R - religious (holiday with religious background)
V - variable (depending on easter date, or something like "1st weekday in month")
F - fixed (can be defined as MM-DD)
Currently there are only two rules concerning flags defined in tests/test_holidays.py:
If a holiday has regions defined, it must not have flag N and it must have flag N if there are no regions defined
A holiday must either have type F or V, not none, not both
There is no hard rule for flag R, currently all holidays which originate from religious feast (Easter, Christmas, St.-X-Day,...) carry it (as opposed to e.g. "Labour Day"). It may be redefined for holidays that only apply to a certain religious group, but this is not yet decided.
Side note: Timewarrior (and probably Taskwarrior) do not really use the flags, but use the region attribute to filter the holidays that matter for them in the respective refresh script. So there is no hard use case for the flags I currently know of. It is more of a (rough) categorization for further purposes.
What does the different letters of the
type
indicate? I can't seem to find any information regarding this on holidata.net nor in the repository.The text was updated successfully, but these errors were encountered: