dualfroz 08305c1b95 fix: parse fractional seconds in ChronosTime as a fraction of a second
ChronosTime::parseString() passed the fractional-seconds digits straight to
(int), so a short fraction such as .5 was read as 5 microseconds instead of
500000 (half a second), diverging from DateTime. Right-pad the fractional digits
to microseconds before converting.
2026-09-04 09:47:39 +02:00
S
Description
My contributions to cakephp/chronos: 2 commits, 1 merged PRs
43 KiB
0 Stars 1 Watchers 0 Forks
Languages
PHP 100%