Bug #52519 [Com]: microseconds in DateInterval are missing
| From: | giorgio dot liscio at email dot it | Date: | Sat, 07 Aug 2010 00:52:39 +0000 |
| Subject: | Bug #52519 [Com]: microseconds in DateInterval are missing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153203@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
Comment by: giorgio dot liscio at email dot it
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:
sorry, bad link http://bugs.php.net/bug.php?id=52514
Previous Comments:
------------------------------------------------------------------------
[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