Closed npapadinu closed 1 week ago
@npapadinu , thank you for raise this issue. According to Law 139-97, some holidays (January 6, January 26, May 1, August 16 and November 6) are moved when they fall on:
Thank you for your reply, @KJhellico !
Ah, the legal stuff is hard to get through :) But the answer is clear!
I found this article mentioning holidays in 2024: https://presidencia.gob.do/noticias/ministerio-de-trabajo-informa-dias-feriados-correspondientes-al-ano-2024
It looks like Article 2 of that law mentions instances the holidays are not supposed to be moved:
Article 2.- The following holidays are excluded from the scope of application of this law:
January 1, New Year's Day.
January 21, Our Lady of La Altagracia Day.
February 27, National Independence Day.
August 16, when it coincides with the beginning of a constitutional period.
September 24, Las Mercedes Day.
December 25, Christmas Day.
So as you mentioned, some of the January and November holidays move, but August 16's holiday remains unmoved this year.
But what is "constitutional period" and how can we find out the beginning of it?
Yes, let me check with the contacts in DO to see if they have any context on that.
Apologies for the delay!
This is what the DO team told me:
August 16th is a national holiday celebrated each year (Restoration Day). On this day, each year, they also celebrate the beginning of the new legislative period. So, Aug 16th will be a national holiday every year.
For the legislative/constitutional period, I was told that Aug 16th is the beginning of the presidential and legislative mandate (constitutional period for the new president term and new Congress&Senate)
So it sounds like Aug 16th is the only holiday that remains unaffected by the law mentioned earlier
I think I understand it now. "Constitutional period" here is 4 years of the elected president term. Our code already have processing of this rule, but only prior to 2008, with reference to "Judgment No. 14 of Feb 20, 2008 of the Supreme Court of Justice". Obviously, in practice, government do not consider this Judgment.
Bug Report
Several holidays in the Dominican Republic in the package do not match the actual holiday dates.
Expected Behavior
Expected holidays for DO:
January 26: Duarte's Birthday May 1: Labour Day August 16: Restoration Day November 6: Constitution Day
Actual Behavior
The package appears to contain holiday dates that slightly differ from the actual holiday dates:
(In particular, this year Restoration Day falls on Friday, August 16th)
Steps to Reproduce the Problem
Run the following code:
Environment
Additional Context
Add any other context about the problem here.