We're updating the issue view to help you get more done. 

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

Acceptance Test - Entry

None

Activity

Show:
Florian Schmaus
March 5, 2013, 10:40 PM

@Leon please verify if it fixes the issue.

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.

Leon Roy
March 18, 2013, 3:57 PM

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

Leon Roy
March 18, 2013, 3:58 PM

Thanks

Assignee

Florian Schmaus

Reporter

Leon Roy

Labels

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure