From 30efe2ed6178039a48c7e4523cab141263f8c94e Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Fri, 7 Dec 2007 11:10:09 +0000 Subject: [PATCH] Do not explicitly convert to ISO. It's too early. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18118 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ZSQLCatalog/SQLCatalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py index fb20cc138a..29454e387a 100644 --- a/product/ZSQLCatalog/SQLCatalog.py +++ b/product/ZSQLCatalog/SQLCatalog.py @@ -442,7 +442,7 @@ class Query(QueryMixin): # 2002/02/01 ==>(UTC) 2002-01-31 22:00:00 # 2002-02-01 ==>(UTC) 2002-02-01 00:00:00 (!) value = value.replace('-', '/') - value = DateTime(value).toZone('UTC').ISO() + value = DateTime(value).toZone('UTC') elif len(value) >= 1 and value[0:2] in ('<=','!=','>='): comparison_operator = value[0:2] value = value[2:] -- 2.30.9