You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2010/06/08 22:16:13 UTC
[jira] Closed: (SCM-551) Blame command : Unparseable date when
locale is not US
[ http://jira.codehaus.org/browse/SCM-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed SCM-551.
----------------------------
Resolution: Fixed
fixed rev 952799.
Thanks
> Blame command : Unparseable date when locale is not US
> ------------------------------------------------------
>
> Key: SCM-551
> URL: http://jira.codehaus.org/browse/SCM-551
> Project: Maven SCM
> Issue Type: Bug
> Components: maven-scm-provider-cvs
> Affects Versions: 1.4
> Environment: Locale en
> Reporter: Fabien
> Assignee: Olivier Lamy
> Priority: Minor
> Fix For: 1.4
>
> Attachments: blame-parseexception.patch
>
>
> I use blame command for CVS provider and there is this exception :
> {quote}
> [ERROR] skip ParseException: Unparseable date: "17-Jul-07" during parsing date 17-Jul-07 with pattern dd-MMM-yy with Locale en
> java.text.ParseException: Unparseable date: "17-Jul-07"
> at java.text.DateFormat.parse(DateFormat.java:335)
> at org.apache.maven.scm.util.AbstractConsumer.parseDate(AbstractConsumer.java:112)
> at org.apache.maven.scm.util.AbstractConsumer.parseDate(AbstractConsumer.java:68)
> at org.apache.maven.scm.provider.cvslib.command.blame.CvsBlameConsumer.consumeLine(CvsBlameConsumer.java:64)
> at org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:195)
> at org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:144)
> {quote}
> I propose a patch to fix this problem.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira