You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/10/14 12:51:05 UTC
[jira] [Commented] (LANG-1002) Several predefined ISO
FastDateFormats in DateFormatUtils are incorrect
[ https://issues.apache.org/jira/browse/LANG-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956671#comment-14956671 ]
Michael Osipov commented on LANG-1002:
--------------------------------------
Changes pushed to [6d3796e64bdd5f3f4857bfca6982e6ecf98a2b33|https://git-wip-us.apache.org/repos/asf?p=commons-lang.git;a=commit;h=6d3796e64bdd5f3f4857bfca6982e6ecf98a2b33].
> Several predefined ISO FastDateFormats in DateFormatUtils are incorrect
> -----------------------------------------------------------------------
>
> Key: LANG-1002
> URL: https://issues.apache.org/jira/browse/LANG-1002
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.time.*
> Affects Versions: 3.3.2
> Reporter: Michael Osipov
> Assignee: Charles Honton
> Fix For: 3.5
>
>
> Formats {{ISO_TIME_FORMAT}}, {{ISO_TIME_TIME_ZONE_FORMAT}} prepend a {{T}} but this is not correct. Sole time is never prepended by defintion. {{T}} is used only when date *and* time are given.
> The Javadocs of {{ISO_TIME_NO_T_FORMAT}}, {{ISO_TIME_NO_T_FORMAT}} are in correct too because they say: "This pattern does not comply with the formal ISO8601 specification as the standard requires the 'T' prefix for times."
> You might want to read [Markus Kuhn's reference|https://www.cl.cam.ac.uk/~mgk25/iso-time.html#time] on that.
> A solution would be remove the first two and rename the second two by dropping the {{NO_T}} in the name.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)