Skip to content

onlyworlds 0.156.2

Choose a tag to compare

@github-actions github-actions released this 27 Nov 06:56
· 34 commits to main since this release
  • Fixed: calendar.format_duration no longer raises on a step_name that is not a string. Such a value reads as absent and the duration is worded in the grain, the calendar profile's rule for an optional key of the wrong kind (a step_name of 5 raised TypeError).
  • Fixed: calendar.format_duration words a whole count exactly up to the safe integers. The count was rounded to two decimals through n * 100, which is not exact past 2^53 / 100, so 9007199254740990 steps were worded as 9007199254740989 days. A whole count is now shown as it is; a fractional one is rounded as before. The npm SDK's formatDuration gives the same answers.