forked from MapComplete/MapComplete
Fix tests
This commit is contained in:
parent
469165c6ff
commit
bad4a3514c
1 changed files with 1 additions and 1 deletions
|
@ -975,7 +975,7 @@ changes // => [[36000,61200], ["10:00", "17:00"]]
|
|||
* @param changeHourText
|
||||
* @param maxDiff minimum required seconds between two items to be in the same group
|
||||
*
|
||||
* OH.partitionOHForDistance([0, 15, 3615], ["start", "15s", "1h15s"]) // => [{changeHours: [0, 3615], changeTexts: ["start", "1h15s"]}, {changeHours: [15], changeTexts: ["15 seconds"]}}]
|
||||
* OH.partitionOHForDistance([0, 15, 3615], ["start", "15s", "1h15s"]) // => [{changeHours: [0, 3615], changeTexts: ["start", "1h15s"]}, {changeHours: [15], changeTexts: ["15 seconds"]}]
|
||||
*
|
||||
*/
|
||||
public static partitionOHForDistance(changeHours: number[], changeHourText: string[], maxDiff = 3600): {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue