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 2012/09/27 02:57:07 UTC
[jira] [Resolved] (LANG-832) FastDateParser does not handle
unterminated quotes correctly
[ https://issues.apache.org/jira/browse/LANG-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved LANG-832.
-----------------------
Resolution: Fixed
Fix Version/s: 3.2
URL: http://svn.apache.org/viewvc?rev=1390795&view=rev
Log:
LANG-832 FastDateParser does not handle unterminated quotes correctly
Modified:
commons/proper/lang/trunk/src/changes/changes.xml
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDateParser.java
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/time/FastDateParserTest.java
> FastDateParser does not handle unterminated quotes correctly
> ------------------------------------------------------------
>
> Key: LANG-832
> URL: https://issues.apache.org/jira/browse/LANG-832
> Project: Commons Lang
> Issue Type: Bug
> Reporter: Sebb
> Fix For: 3.2
>
>
> FDP does not handled unterminated quotes the same way as SimpleDateFormat
> For example:
> Format: 'd'd'
> Date: d3
> This should fail to parse the format and date but it actually works.
> The format is parsed as:
> Pattern: d(\p{IsNd}++)
--
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