diff --git a/htroot/yacysearch.rss b/htroot/yacysearch.rss
index 990a800c6..6b56bd4ec 100644
--- a/htroot/yacysearch.rss
+++ b/htroot/yacysearch.rss
@@ -11,9 +11,9 @@
#[rssYacyImageURL]#
Search for #[former]#
- #[type_results]#
+ #[results]#
1
- #[type_results]#
+ #[results]#
diff --git a/htroot/yacysearchitem.java b/htroot/yacysearchitem.java
index da1c86658..0a7e82bcd 100644
--- a/htroot/yacysearchitem.java
+++ b/htroot/yacysearchitem.java
@@ -178,7 +178,7 @@ public class yacysearchitem {
prop.put("rss_description", result.textSnippet().getLineRaw());
prop.put("rss_link", result.urlstring());
prop.put("rss_urlhash", result.hash());
- prop.put("rss_date", plasmaSwitchboard.dateString(result.modified()));
+ prop.put("rss_date", plasmaSwitchboard.dateString822(result.modified()));
return prop;
}
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java
index 14ae7e93e..2d1ae8bcf 100644
--- a/source/de/anomic/plasma/plasmaSwitchboard.java
+++ b/source/de/anomic/plasma/plasmaSwitchboard.java
@@ -117,6 +117,7 @@ import java.util.Date;
import java.util.HashMap;
import java.util.Hashtable;
import java.util.Iterator;
+import java.util.Locale;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
@@ -2895,6 +2896,13 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
if (date == null) return ""; else return DateFormatter.format(date);
}
+ // we need locale independent RFC-822 dates at some places
+ private static SimpleDateFormat DateFormatter822 = new SimpleDateFormat("EEE, dd MMM yyyy", Locale.US);
+ public static String dateString822(Date date) {
+ if (date == null) return ""; else return DateFormatter822.format(date);
+ }
+
+
public serverObjects action(String actionName, serverObjects actionInput) {
// perform an action. (not used)
return null;