forked from MapComplete/MapComplete
Tests: fix tests
This commit is contained in:
parent
1d25f926f8
commit
dd2a28b259
1 changed files with 1 additions and 1 deletions
|
|
@ -672,7 +672,7 @@ changes // => [[36000,61200], ["10:00", "17:00"]]
|
||||||
*
|
*
|
||||||
* const oh = new opening_hours("mar 15 - oct 15")
|
* const oh = new opening_hours("mar 15 - oct 15")
|
||||||
* const ranges = OH.createRangesForApplicableWeek(oh, new Date(2025,4,20,10,0,0))
|
* const ranges = OH.createRangesForApplicableWeek(oh, new Date(2025,4,20,10,0,0))
|
||||||
* ranges // => {ranges: [[],[],[],[],[],[]], startingMonday: new Date(2025,4,18,10,0,0)}
|
* ranges // => {ranges: [[],[],[],[],[],[],[]], startingMonday: new Date(2025,4,18,24,0,0)}
|
||||||
*/
|
*/
|
||||||
public static createRangesForApplicableWeek(oh: opening_hours, today?: Date): {
|
public static createRangesForApplicableWeek(oh: opening_hours, today?: Date): {
|
||||||
ranges: OpeningRange[][]
|
ranges: OpeningRange[][]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue