Commit e9455c05 authored by Romain Courteaud's avatar Romain Courteaud

Bug fix: copy the timezone in which the date is represented.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13857 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 31cfcf69
......@@ -97,7 +97,7 @@ def addToDate(date, to_add=None, **kw):
return_value['hour'],
return_value['minute'],
return_value['second'],
date.localZone()))
date.timezone()))
return_date += day_to_add
return return_date
......
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