monika0691 / emite

Automatically exported from code.google.com/p/emite
0 stars 0 forks source link

Improve date parsing #323

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently date parsing in Emite is done by the:
com.calclab.emite.core.client.xmpp.datetime
package.
However this implementation is not completely correct, since:
1. The patterns of SimpleDateFormat are not completely correct (the 'T' 
character must be escaped as literal).
2. In XEP 0091, the date-time have no timezone, so it is *not* ISO 8601 
compliant.
http://xmpp.org/extensions/xep-0091.html#time

So, an implementation that takes ISO8601 date-times but also ignores the 
problem of the missing time zone must be provided.

Original issue reported on code.google.com by antonio....@gmail.com on 9 Sep 2010 at 12:28

GoogleCodeExporter commented 9 years ago
It seems that under GWT 2.1 ISO8601 dates can be parsed:
http://code.google.com/p/google-web-toolkit/issues/detail?id=3068

Original comment by antonio....@gmail.com on 9 Sep 2010 at 12:29

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1634.

Original comment by antonio....@gmail.com on 13 Sep 2010 at 1:13