[document_ics] dtend add always 3 hours

Bug #313679 reported by Sebastien LANGE - http://www.Syleam.fr
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

In document.py, we've got this code :

124 elif ICS_TAGS[field.name]=='date':
125 dt = value or time.strftime('%Y-%m-%d %H:%M:%S')
126 if len(dt)==10:
127 dt = dt+' 09:00:00'
128 value = datetime.datetime.strptime(dt, '%Y-%m-%d %H:%M:%S')
129 if field.name=='dtend':
130 value += datetime.timedelta(hours=3)
131 event.add(field.name).value = value

So, dtend add always 3 hours and for me, is not normal.

Revision history for this message
Christophe Simonis (OpenERP) (kangol) wrote :

fix by 2068 <email address hidden>

Changed in openobject-addons:
milestone: none → 5.0
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.