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
Hi.
Looks like Veterans Day(11 november) in USA in 2018 will be substituted by 12 november (monday), but the library not showing that. I'm right?
As I see in code, there no calculations for this holiday in case of substitution.
in file Provider/USA.php:
<?php//...// Only process New Year's Day, Independence Day, or Christmas Dayif (in_array(
$datesIterator->current()->shortName,
['newYearsDay', 'independenceDay', 'christmasDay'],
true
)) {
//...
Thank you.
The text was updated successfully, but these errors were encountered:
daffoxdev
changed the title
Veterans Day subtitution
Veterans Day in USA subtitution
Jan 30, 2018
Perhaps the substitution rules for the USA are not perfectly correct in the USA Provider. This part of the code only determines substitutions for those 3 holidays.
Section 3(a) essentially means that all holidays are eligible to have substitute holidays, not just New Years Day, Independence Day, and Christmas Day. In reality, this library is only missing Veteran's day since that is the only other day that is not guaranteed to fall on a weekday.
Hi.
Looks like Veterans Day(11 november) in USA in 2018 will be substituted by 12 november (monday), but the library not showing that. I'm right?
As I see in code, there no calculations for this holiday in case of substitution.
in file
Provider/USA.php
:Thank you.
The text was updated successfully, but these errors were encountered: