Force the English Locale to generate the RSS feed
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@422832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d8e41ac57b
commit
bfef789457
@ -156,7 +156,7 @@
|
|||||||
<goal name="multichanges:generates-releases-rss" prereqs="multichanges:generates-releases-file">
|
<goal name="multichanges:generates-releases-rss" prereqs="multichanges:generates-releases-file">
|
||||||
|
|
||||||
<tstamp>
|
<tstamp>
|
||||||
<format property="currentDate" pattern="EEE, dd MMM yyyy HH:mm:ss Z"/>
|
<format property="currentDate" pattern="EEE, dd MMM yyyy HH:mm:ss Z" locale="en"/>
|
||||||
</tstamp>
|
</tstamp>
|
||||||
<tstamp>
|
<tstamp>
|
||||||
<format property="currentYear" pattern="yyyy"/>
|
<format property="currentYear" pattern="yyyy"/>
|
||||||
|
|||||||
@ -2,6 +2,7 @@ package org.apache.maven.plugin.multichanges.util;
|
|||||||
|
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.Locale;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
@ -23,7 +24,7 @@ public class RssDateFormatter {
|
|||||||
* The date format defined in RFC 822 and used in RSS feeds.
|
* The date format defined in RFC 822 and used in RSS feeds.
|
||||||
*/
|
*/
|
||||||
private final static SimpleDateFormat rfc822DF = new SimpleDateFormat(
|
private final static SimpleDateFormat rfc822DF = new SimpleDateFormat(
|
||||||
"EEE, dd MMM yyyy HH:mm:ss Z");
|
"EEE, dd MMM yyyy HH:mm:ss Z",Locale.ENGLISH);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Log for debug output
|
* Log for debug output
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user