Fix startOf function for isoWeek
stockiNail opened this issue · 0 comments
stockiNail commented
The startOf function is accepting a boolean for Sunday(false) and Monday(true).
Instead it should get the the week day (number) between 0 (Sunday) and 6(Saturday) in order to be more flexible to provide the startOf the week based on the parameter.