Edit report at http://bugs.php.net/bug.php?id=52519&edit=1

 ID:                 52519
 Updated by:         der...@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

Reply via email to