You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2018/02/16 23:32:00 UTC

[jira] [Resolved] (LANG-1377) DateUtils.parseDateStrictly is not working properly

     [ https://issues.apache.org/jira/browse/LANG-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved LANG-1377.
------------------------
    Resolution: Invalid

There are two problems with the format strings:
* none of them allow for the seconds in "13:05:15 03.05"
* the format char 'h' expects a number from 1-12; 13 is not such a number

> DateUtils.parseDateStrictly is not working properly
> ---------------------------------------------------
>
>                 Key: LANG-1377
>                 URL: https://issues.apache.org/jira/browse/LANG-1377
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.time.*
>    Affects Versions: 3.7
>            Reporter: Darko Palic
>            Priority: Major
>         Attachments: dateParseTest.java
>
>
> I have following example to parse dates. The parsing fails in the given cases.
>  
> removed the code from inline, since Jira is unable to handle it properly... Please check the attachment
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)