Skip to content

Chronos 2.1.0

Choose a tag to compare

@othercorey othercorey released this 20 Jan 02:40
3f119d1

New Features

  • Added diffInMonthsIgnoreTimezone() that takes the difference without allowing PHP to convert back to UTC first. For example: 2019-06-01 Asia/Tokyo and 2019-10-01 Asia/Tokyo would return 4 instead of 3 that DateTime::diff() would return.