I would vote for a fallback on parsing errors (with a WARNING-level logging).

> Since it's complaining about the empty string not being a number, is it possible the response for timezone was not null, but ""?

According to the code, parseDateWithTimezone() cannot get an empty string. Date.format() does not trim strings.
I would suppose that your server provides dates in a non-standard format without a timezone. "yyyy/MM/dd HH:mm:ss ZZZZZ" is expected according to the code

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to