All checks were successful
CI / Build, Test & Publish (pull_request) Successful in 3m5s
546 B
546 B
| @gram-lang/kitchen |
|---|
| minor |
Kitchen: A duration longer than 1000 years (a timer, or a section's retro-planning offset) no longer breaks the timeline:
- It is capped at 1000 years and the compiler warns with the new
DURATION_OUT_OF_RANGEcode; before, the times came out as0minutes,InfinityorNaN(nullin the JSON) without any warning. Durations up to the limit are planned as written quantityToMinutescaps its result the same way, andMAX_DURATION_MINUTES,isDurationTooLongandmaxDurationInare exported