Skip to content

Releases: cakephp/chronos

Chronos 3.3.1

30 Oct 13:13
1e417fd

Choose a tag to compare

What's Changed

  • Use match() instead of switch/case. by @ADmad in #487

Full Changelog: 3.3.0...3.3.1

Chronos 3.3.0

27 Oct 18:21
7d9af08

Choose a tag to compare

What's Changed

Full Changelog: 3.2.0...3.3.0

Chronos 2.5.2

26 Oct 15:03
cd4e1ef

Choose a tag to compare

What's Changed

Full Changelog: 2.5.1...2.5.2

Chronos 3.2.0

28 Jun 11:38

Choose a tag to compare

What's Changed

  • Add ChronosPeriod which returns Chronos instances from DatePeriod by @othercorey in #472
  • Add ChronosDatePeriod which returns ChronosDate instances from DatePeriod by @othercorey in #476

New Contributors

Full Changelog: 3.1.0...3.2.0

Chronos 2.5.1

18 Jun 08:24
9e73729

Choose a tag to compare

This release requires PHP 8.4 to match the signature of DateTimeImmutable::createFromTimestamp(). Users not running PHP 8.4+ do not need this version.

What's Changed

  • Allow float timestamp for createFromTimestamp() to match php by @othercorey in #474
  • Require PHP 8.4 for createFromTimestamp() siganture by @othercorey in #475

Full Changelog: 2.4.5...2.5.1

Chronos 2.4.5

06 Aug 17:17
b0321ab

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.4.4...2.4.5

Chronos 3.1.0

21 Jul 23:50
786d69e

Choose a tag to compare

Behavior Changes

  • Chronos::createFromTimestamp()handles timezones differently. If $timezone is not explicitly passed then the instance has timezone set to +00:00 unlike earlier where the currently set default timezone was used. This behavior change normalizes behavior with changes in PHP 8.4 which adds a new DateTimeInterface::createFromTimestamp() method.

What's Changed

New Contributors

Full Changelog: 3.0.4...3.1.0

Chronos 2.4.4

14 Nov 16:30
03208c1

Choose a tag to compare

What's Changed

Full Changelog: 2.4.3...2.4.4

Chronos 3.0.4

18 Oct 02:31
9cb035a

Choose a tag to compare

What's Changed

Full Changelog: 3.0.3...3.0.4

Chronos 2.4.3

18 Oct 02:31
96f28dd

Choose a tag to compare

What's Changed

Full Changelog: 2.4.2...2.4.3