Skip to content

🌞 Solstice

Choose a tag to compare

@mychidarko mychidarko released this 12 Aug 22:42
· 1 commit to v5.x since this release

v5.0 - 12 Aug 2026

Added

  • Added real timezone support: tick('2026-01-15 12:00:00', 'Asia/Tokyo') means noon as experienced in Tokyo, following day.js semantics
  • Added tz() to convert a date into another timezone
  • Added utc() and utcOffset() for clean UTC handling and storage
  • Added a much larger test suite covering parsing, formatting, comparison, manipulation and getters/setters, run through Alchemy

Changed

  • Breaking: passing a timezone as tick()'s second argument now parses in that timezone instead of converting to it. For the old conversion behavior, use tick($date)->tz($timezone). Single-argument tick() calls are unaffected
  • Date now requires PHP 8.2+