Re: DateInterval and ISO 8601

From: Date: Thu, 22 Jun 2017 08:19:01 +0000
Subject: Re: DateInterval and ISO 8601
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-99607@lists.php.net to get a copy of this message
On Thu, 22 Jun 2017, David Rodrigues wrote: > 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

« previous php.internals (#99607) next »