Closed lkaybob closed 4 years ago
Starting PHP@7.1, DateTime::__construct
fills in microseconds actual value, not 0000
.
https://www.php.net/manual/en/datetime.construct.php
https://github.com/briannesbitt/Carbon/issues/1503
As a workaround, setTimeToLive
methods now rounds up by seconds.
i.e.) If DateTime::__contruct
returns current time as "2019-07-17 06:21:04.693098", current time would be round up as "2019-07-17 06:21:05.000000"
Resolved in #4 .
Build is failing, since PHP@7.2.12 has been released. It seem that
timelib
has been updated inside the released PHP, and I am working on this issue.