summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJay (Open ERP) <jvo@tinyerp.com>2010-01-06 15:07:11 +0530
committerJay (Open ERP) <jvo@tinyerp.com>2010-01-06 15:07:11 +0530
commite389b5d89333dc4e8320e307c2a01f186c8f6d0e (patch)
treee5a87de77cfae92020dd2d1a10e62557e37269c5 /bin
parentf5ec8210a535a411f5b5b34bb5fe998ddc18cdd6 (diff)
[FIX] FormatLang : Dates if specified into String,will be formatted into language-specific format
lp bug: https://launchpad.net/bugs/497423 fixed bzr revid: jvo@tinyerp.com-20100106093711-tu7fg6lf4uzbw8sr
Diffstat (limited to 'bin')
-rw-r--r--bin/report/report_sxw.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/report/report_sxw.py b/bin/report/report_sxw.py
index 5c8728301aa..1db34562017 100644
--- a/bin/report/report_sxw.py
+++ b/bin/report/report_sxw.py
@@ -256,10 +256,10 @@ class rml_parse(object):
parse_format = DHM_FORMAT
# filtering time.strftime('%Y-%m-%d')
- if type(value) == type(''):
- parse_format = DHM_FORMAT
- if (not date_time):
- return str(value)
+# if type(value) == type(''):
+# parse_format = DHM_FORMAT
+# if (not date_time):
+# return str(value)
if not isinstance(value, time.struct_time):
try: