You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2018/02/22 15:21:00 UTC
[jira] [Commented] (LANG-1380) FastDateParser too strict on
abbreviated short month symbols
[ https://issues.apache.org/jira/browse/LANG-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372931#comment-16372931 ]
Markus Jelsma commented on LANG-1380:
-------------------------------------
Attaching a unit test proving the problem. I am not sure through there it should be fixed.
> FastDateParser too strict on abbreviated short month symbols
> ------------------------------------------------------------
>
> Key: LANG-1380
> URL: https://issues.apache.org/jira/browse/LANG-1380
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.time.*
> Affects Versions: 3.7
> Reporter: Markus Jelsma
> Priority: Minor
> Fix For: 3.8
>
> Attachments: LANG-1380.patch
>
>
> The date format symbols of the French locale adds a . (dot) when short month names are really abbreviated.
> {code}
> janv.
> févr.
> mars
> avr.
> mai
> juin
> juil.
> août
> sept.
> oct.
> nov.
> déc.
> {code}
> But in real world examples, the dot is frequently omitted.
> FastDateParser should be lenient in the case where the dot isn't there, e.g. "14 avr 2014".
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)