It should succeed and return the list, as using milliseconds complies with the DataTime format specified on XEP-0082, which is the one required on XEP-0136.
Notice that including the milliseconds in the timestamp is the behavior of the Javascript's Date class, toISOString() method; at least on Google Chrome, so it would make the life easier for working with Strophe for instance.
Andrzej Wójcik (Tigase) commented 1 decade ago
Applied in changeset commit:7619077bd38129df1fbaa045e2bcd13925ee2d0f.
To reproduce:
Ask for list collections with a stanza like this:
<list xmlns='urn:xmpp:archive' with='juliet@capulet.com' start='1970-01-01T00:00:00.000Z' end='2014-05-12T21:41:48.911Z'/
It then returns:
Date parsing error
Expected behavior:
It should succeed and return the list, as using milliseconds complies with the DataTime format specified on XEP-0082, which is the one required on XEP-0136.
Notice that including the milliseconds in the timestamp is the behavior of the Javascript's Date class, toISOString() method; at least on Google Chrome, so it would make the life easier for working with Strophe for instance.