Commit 4f15f882 authored by Vincent Pelletier's avatar Vincent Pelletier

Use a dict-type value instead of manually rendering time as a string (the only...

Use a dict-type value instead of manually rendering time as a string (the only purpose was to prepend a comparison operator).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24945 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8ffb3416
......@@ -1048,7 +1048,7 @@ class SimulationTool(BaseTool):
# 'Use explicitly Universal' otherwise DateTime
# search key will convert it to UTC one more time
Query(**{'%s.date' % (GREATER_THAN_DATE_TABLE_ID, ): \
'>%s Universal' % (date.ISO(), )}),
{'query': '%s Universal' % (date.ISO(), ), 'range': 'nlt'}}),
operator='AND'))
assert len(equal_date_query_list) == \
len(greater_than_date_query_list)
......
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