Bug #52519 [Asn]: microseconds in DateInterval are missing
| From: | derick@php.net | Date: | Mon, 30 Aug 2010 15:52:26 +0000 |
| Subject: | Bug #52519 [Asn]: microseconds in DateInterval are missing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153933@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52519&edit=1
ID: 52519
Updated by: derick@php.net
Reported by: giorgio dot liscio at email dot it
Summary: microseconds in DateInterval are missing
Status: Assigned
Type: Bug
Package: Date/time related
Operating System: xp x64 all
PHP Version: 5.3.3
Assigned To: derick
Block user comment: N
New Comment:
ISO 8601 actually allows fractions for seconds (see section 5.3.1.3)
Previous Comments:
------------------------------------------------------------------------
[2010-08-07 02:52:39] giorgio dot liscio at email dot it
sorry, bad link http://bugs.php.net/bug.php?id=52514
------------------------------------------------------------------------
[2010-08-07 02:51:10] giorgio dot liscio at email dot it
hi thank you for accepting this bug
since ISO8601 does not specify how to treat microseconds
i think the best way to implement this is with seconds treated as
floats
"P10.342192S"
see http://bugs.php.net/bug.php?id=52519 too
again, thank you for this library and for your attention on my requests
:)
------------------------------------------------------------------------
[2010-08-02 23:06:30] giorgio dot liscio at email dot it
Description:
------------
hi, the property $seconds should be float or a $microseconds property is
missing in the class DateInterval
http://www.php.net/manual/en/class.dateinterval.php
thank you
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52519&edit=1