[ http://jira.codehaus.org/browse/MCHANGELOG-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214469#action_214469 ]
Mateus Pimenta commented on MCHANGELOG-95: ------------------------------------------ I had the same problem here. From the source code, the dateFormat is only used for 'range' type reports which is not stated in the documentation. IMO, it should accepted for all types as they will need to parse dates. I'm submitting a patch to correct that. > Getting historical information from Microsoft Visual source is not working > -------------------------------------------------------------------------- > > Key: MCHANGELOG-95 > URL: http://jira.codehaus.org/browse/MCHANGELOG-95 > Project: Maven 2.x Changelog Plugin > Issue Type: Bug > Affects Versions: 2.1 > Environment: VSS 6.0, maven 2.0 > Reporter: Radhakrishnan > Attachments: dateFormatNotBeingPassed > > > file's creaion date is defined as in VSS 4/08/09 8:47p. I am getting below > error when trying to execute changelog report. I tried using the dateformat > as M/dd/yy hh:mma as well as M/dd/yy hh:mm & MM/dd/yy h:mm. But no options > worked out. > java.text.ParseException: Unparseable date: "4/08/09 8:47p" > at java.text.DateFormat.parse(DateFormat.java:335) > at > org.apache.maven.scm.util.AbstractConsumer.parseDate(AbstractConsumer.java:106) > at > org.apache.maven.scm.util.AbstractConsumer.parseDate(AbstractConsumer.java:68) > at > org.apache.maven.scm.provider.vss.commands.changelog.VssChangeLogConsumer.processGetAuthor(VssChangeLogConsumer.java:198) > at > org.apache.maven.scm.provider.vss.commands.changelog.VssChangeLogConsumer.consumeLine(VssChangeLogConsumer.java:147) > at > org.codehaus.plexus.util.cli.StreamPumper.consumeLine(StreamPumper.java:194) > at > org.codehaus.plexus.util.cli.StreamPumper.run(StreamPumper.java:143) -- 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