Skip to content

0.5.0

Compare
Choose a tag to compare
@meduzen meduzen released this 02 May 17:44
· 223 commits to main since this release

New

  • tzOffset() now accepts a third parameter. When set to true, it enforce the provided timezone to stay in real-life boundaries (from -12:00 to +14:00).
  • This also applies to datetimeTz(), which now accepts a fifth parameter to be on par with how tzOffset() works.

Changed

  • tzOffset() and datetimeTz() now adjust the timezone to fit the spec boundaries (from -23:59 to +23:59). There was no limits before.