Commit c2b505cf authored by Vincent Pelletier's avatar Vincent Pelletier

Reapply 24945 commit intent, but with working code this time.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24951 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4dd83049
......@@ -1048,8 +1048,8 @@ class SimulationTool(BaseTool):
for k, v in non_date_value_dict.iteritems()]),
# '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.date' % (GREATER_THAN_DATE_TABLE_ID, ): date,
'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