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

Activity

Show:
Leon Roy
March 18, 2013, 3:58 PM

Thanks

Leon Roy
March 18, 2013, 3:57 PM

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

Robin Collier
March 7, 2013, 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, 10:40 PM

@Leon please verify if it fixes the issue.

Fixed

Assignee

Florian Schmaus

Reporter

Leon Roy

Labels