[ http://jira.codehaus.org/browse/MCHANGELOG-46?page=comments#action_73376 ] Dennis Lundberg commented on MCHANGELOG-46: -------------------------------------------
Are aware that the dateFormat parameter is not a presentation parameter? In the plugin documentation at http://maven.apache.org/plugins/maven-changelog-plugin/changelog-mojo.html#dateFormat it says: "Used to specify the date format of log entries to retrieve. This format will also be reflected in the reports." Digging into maven-scm, which is used to retrieve data from your SCM, I found this documentation in ScmProvider.java: "the date pattern use in changelog output returned by scm tool" So this is the format of the dates that come back from your subversion repository when you request a changelog from it. Try running this command in the root of your project: svn log pom.xml Look at the dates and see what format they have. If the have the format "yyyy-MM-dd" then you shouldn't be setting the dateFormat at all, since that is the default format. If they are in another format please report back with a snippet of the output from the svn command. > Using the dateFormat option the generate changelog report shows a wrong date > > ------------------------------------------------------------------------------- > > Key: MCHANGELOG-46 > URL: http://jira.codehaus.org/browse/MCHANGELOG-46 > Project: Maven 2.x Changelog Plugin > Issue Type: Bug > Affects Versions: 2.0-beta-1 > Reporter: Giorgio Urto > Assigned To: Dennis Lundberg > Priority: Minor > > Using the dateFormat option in the generated changelog report a file that was > changed the 14 december 2005 at 11.48.50 is show using this timestamp > 0020-05-27 00:00:00. > Here is my configuration for the plugin: > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-changelog-plugin</artifactId> > <version>2.0-SNAPSHOT</version> > <reportSets> > <reportSet> > <id>dual-report</id> > <configuration> > <type>range</type> > <range>365</range> > <dateFormat>dd-MM-yyyy</dateFormat> > </configuration> > <reports> > <report>changelog</report> > <report>file-activity</report> > <report>dev-activity</report> > </reports> > </reportSet> > </reportSets> > </plugin> > Without the dateFormat attribute set, the date in the report is ok. -- 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