-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start and End time ranges are not accurate #411
Comments
Hi @alexpirvanescu, |
Hi @commenthol |
There seems to be a problem when calculating the Start and End date-time ranges.
The following code:
const holidays = new Holidays('RO', { timezone: 'Europe/Bucharest', types: ['public'] }); console.log(holidays.getHolidays(2023));
Produces this result:
![image](https://user-images.githubusercontent.com/10071870/232469896-c3033812-7d12-439b-85d8-c12d4a807b49.png)
If you think in hours, then the Red case does not make sense.
If you think in Dates (ignore the Time), then the Blue case does not make sense.
I assume that we should not ignore the Time component.
The text was updated successfully, but these errors were encountered: