diff --git a/gezegen/rss10.xml.tmpl b/gezegen/rss10.xml.tmpl
index ea0c2e9..0cd709b 100644
--- a/gezegen/rss10.xml.tmpl
+++ b/gezegen/rss10.xml.tmpl
@@ -27,7 +27,7 @@
-
+
diff --git a/gezegen/rss20.xml.tmpl b/gezegen/rss20.xml.tmpl
index 58484b0..3ff7a11 100644
--- a/gezegen/rss20.xml.tmpl
+++ b/gezegen/rss20.xml.tmpl
@@ -19,7 +19,7 @@
-
+
diff --git a/planet/__init__.py b/planet/__init__.py
index ee24055..ffa04f9 100644
--- a/planet/__init__.py
+++ b/planet/__init__.py
@@ -12,6 +12,7 @@ __authors__ = [ "Scott James Remnant ",
"Jeff Waugh " ]
__license__ = "Python"
+import locale
# Modules available without separate import
import cache
@@ -87,6 +88,15 @@ class stripHtml(sgmllib.SGMLParser):
def template_info(item, date_format):
"""Produce a dictionary of template information."""
info = {}
+
+ #set the locale so that the dates at the feeds will be in english
+ lc=locale.getlocale()
+ if lc[0].find("tr") != -1:
+ try:
+ locale.setlocale(locale.LC_ALL, '')
+ except:
+ pass
+
for key in item.keys():
if item.key_type(key) == item.DATE:
date = item.get_as_date(key)