From e389b5d89333dc4e8320e307c2a01f186c8f6d0e Mon Sep 17 00:00:00 2001 From: "Jay (Open ERP)" Date: Wed, 6 Jan 2010 15:07:11 +0530 Subject: [PATCH] [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 --- bin/report/report_sxw.py | 8 ++++---- 1 file 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: