| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| Chronos 3.5.0 source code.tar.gz | 2026-04-10 | 35.8 kB | |
| Chronos 3.5.0 source code.zip | 2026-04-10 | 43.7 kB | |
| README.md | 2026-04-10 | 514 Bytes | |
| Totals: 3 Items | 80.0 kB | 0 | |
Improvements
- Added DST-safe elapsed time arithmetic methods that use Unix timestamp manipulation instead of wall clock time:
addElapsedHours()/subElapsedHours()addElapsedMinutes()/subElapsedMinutes()addElapsedSeconds()/subElapsedSeconds()
These methods ensure correct behavior across DST transitions and are true inverses of diffInHours(), diffInMinutes(), and diffInSeconds().
Full Changelog: https://github.com/cakephp/chronos/compare/3.4.0...3.5.0