As mentioned on doc (http://php.net/manual/en/dateinterval.construct.php)
the format is based on ISO 8601 (
https://en.wikipedia.org/wiki/ISO_8601#Durations), but it doesn't respects,
for instance, decimal values. There are some reason for that?
This bug was related on 2011 and we have not update (
https://bugs.php.net/bug.php?id=53831).
--
David Rodrigues
As mentioned on doc (http://php.net/manual/en/dateinterval.construct.php)
the format is based on ISO 8601 (
https://en.wikipedia.org/wiki/ISO_8601#Durations), but it doesn't respects,
for instance, decimal values. There are some reason for that?
No particular reason, I just missed this feature of ISO8601 when I wrote
this (back in 2004!). File a feature request at
https://github.com/derickr/timelib and I'll see when I can add this in
the future.
cheers,
Derick
--
https://derickrethans.nl | https://xdebug.org | https://dram.io
Like Xdebug? Consider a donation: https://xdebug.org/donate.php
twitter: @derickr and @xdebug