Open Tetranos opened 13 years ago
The parseW3CDTF() method gives a bad result with the following string : "2011-04-11T22:03:44.578125Z".
As mentionned by the W3C (http://www.w3.org/TR/NOTE-datetime), the number after the "." is a decimal fraction of a second and not milliseconds.
The parseW3CDTF() method interprets this number as milliseconds and : 578125 ms = 578 s + 125 ms = 9 min + 578 s + 125 ms
It should be interpreted like this : 0.578125 s = 578 ms + 0.000125 s
The parseW3CDTF() method gives a bad result with the following string : "2011-04-11T22:03:44.578125Z".
As mentionned by the W3C (http://www.w3.org/TR/NOTE-datetime), the number after the "." is a decimal fraction of a second and not milliseconds.
The parseW3CDTF() method interprets this number as milliseconds and : 578125 ms = 578 s + 125 ms = 9 min + 578 s + 125 ms
It should be interpreted like this : 0.578125 s = 578 ms + 0.000125 s