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:
1 parent
d8e41ac57b
commit
bfef789457
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -2,6 +2,7 @@ package org.apache.maven.plugin.multichanges.util;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
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.
|
||||
*/
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user