XmppDateTimeFormat is unable to parse date Strings

Description

Sending a packet of the form:

No longer gets parsed to java.util.Date since SVN change 13437.

For some reason when given the above date L119 of XmppDateTimeFormat returns null.

This breaks the monitoring plugin which had its own XmppDateUtil class which worked fine prior to the SVN change.

Environment

None

is duplicated by

Activity

Show:

Leon Roy March 18, 2013 at 3:58 PM

Thanks

Leon Roy March 18, 2013 at 3:57 PM

Hi Florian, that indeed seems to resolve the issue. You can close this ticket now.

Robin Collier March 7, 2013 at 3:35 PM

It would be useful to take the relevant date parsing tests from StringUtilsTest in Smack and add them to XMPPDateTimeFormatTest. It covers all the cases in the spec and some more besides.

Florian Schmaus March 5, 2013 at 10:40 PM

@Leon please verify if it fixes the issue.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created March 5, 2013 at 5:08 PM
Updated March 20, 2013 at 12:31 PM
Resolved March 20, 2013 at 10:45 AM