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
Sometime, there are official additional working days to compensate for the long holiday break. I hope to support setting additional working days, and update isBusinessDay. I think it would be useful.
Use case example.
During Chinese New Year 2023, Chinese official holiday and additional working days are:
Based on my understanding of the ask here, you would set your normal working days (ex. Mon-Fri) and then use the additional days property to tell the package you will be working a one-off Sat-Sun
Can you please confirm if my example lines up with what you're asking for?
Based on my understanding of the ask here, you would set your normal working days (ex. Mon-Fri) and then use the additional days property to tell the package you will be working a one-off Sat-Sun
Can you please confirm if my example lines up with what you're asking for?
Correct.
In the example "Chinese New Year 2023", additional working days are Jan 28, Jan 29. Those additional working days are one-off.
"Chinese New Year 2024" additional working days may be not Jan 28, Jan 29.
Describe the feature you'd like to request
Sometime, there are official additional working days to compensate for the long holiday break. I hope to support setting additional working days, and update
isBusinessDay
. I think it would be useful.Use case example.
During Chinese New Year 2023, Chinese official holiday and additional working days are:
ref: https://calendars.icloud.com/holidays/cn_zh.ics
Describe the solution you'd like to see
new API: setAdditionalWorkingDays() => void
Sets the additional working day list to the given array of strings
update API: isBusinessDay
after setAdditionalWorkingDays
The text was updated successfully, but these errors were encountered: