Commit 30efe2ed authored by Ivan Tyagov's avatar Ivan Tyagov

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
parent 3665f100
......@@ -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:]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment