Skip to content

Chronos 1.2.0

Choose a tag to compare

@markstory markstory released this 21 Jun 02:08
· 582 commits to 3.x since this release
1.2.0
a0293d2

Changes

  • Tests are no longer run against HHVM
  • Improved API documentation
  • Setting time on a Date instance will now clear microseconds in when microseconds are offered by PHP.

New Features

  • Test 'now' is shared across all classes. Changing 'now' in one class will update 'now' in all other classes.
  • ChronosInterval::__toString() now normalizes the period to match intervals used in standard clocks. Instead of 147S you will now get 2M27S as an example.