4 Commits
Author SHA1 Message Date
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
upstream 7c2a7810d0 Upstream cakephp/chronos state of the touched files before ed2ac06e75 2026-09-04 09:47:39 +02:00
dualfroz 49dbcb8c91 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-06 01:20:04 +02:00
upstream 760a3e72b1 Upstream cakephp/chronos state of the touched files before cdfce65279 2026-09-04 09:47:39 +02:00