Holger Stenzhorn created LANG-1000:
--------------------------------------

             Summary: ParseException when trying to parse UTC dates with Z as 
zone designator using DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT
                 Key: LANG-1000
                 URL: https://issues.apache.org/jira/browse/LANG-1000
             Project: Commons Lang
          Issue Type: Bug
    Affects Versions: 3.3.2
            Reporter: Holger Stenzhorn
            Priority: Minor


I have the {{String}} {{2013-11-18T12:48:05Z}} which I want to parse into a 
{{Date}} using {{DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT}}. 

According to [http://en.wikipedia.org/wiki/ISO_8601#UTC] the {{Z}} at the end 
should be a valid abbreviation for {{UTC+00:00}} (or {{UTC}}) and so all should 
be fine.

But when I am trying to do so I get the following exception:
{code}
java.text.ParseException: Unparseable date: "2013-11-18T12:48:05Z" does not 
match
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to