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
It's not clear how "weekend" is defined. In some companies, Saturday is a working day, so not strictly speaking a weekend for all persons.
This is also seen in #2085.
Suggested edits
I would suggest adding the information that Saturday and Sunday are considered weekend days and those are the only ones checked in this utility.
The text was updated successfully, but these errors were encountered:
adrianjost
changed the title
Problem in isWeekend documentation
Clarify in isWeekend days
Apr 8, 2024
There is an issue with the isWeekend documentation
The problem with isWeekend documentation
It's not clear how "weekend" is defined. In some companies, Saturday is a working day, so not strictly speaking a weekend for all persons.
This is also seen in #2085.
Suggested edits
I would suggest adding the information that Saturday and Sunday are considered weekend days and those are the only ones checked in this utility.
The text was updated successfully, but these errors were encountered: