[FIX] Calendar - revert commit from forward port 9354. This has been already fixed in 9322.
bzr revid: jke@openerp.com-20140402071542-cv7zz4t1t26riuuu
This commit is contained in:
parent
dfdbf8cdc4
commit
0f5c2bda4a
|
@ -1123,7 +1123,7 @@ class calendar_event(osv.Model):
|
|||
|
||||
def get_end_date(data):
|
||||
if data.get('end_date'):
|
||||
data['end_date_new'] = ''.join((re.compile('\d')).findall(data.get('end_date'))) + 'T235959'
|
||||
data['end_date_new'] = ''.join((re.compile('\d')).findall(data.get('end_date'))) + 'T235959Z'
|
||||
|
||||
return (data.get('end_type') == 'count' and (';COUNT=' + str(data.get('count'))) or '') +\
|
||||
((data.get('end_date_new') and data.get('end_type') == 'end_date' and (';UNTIL=' + data.get('end_date_new'))) or '')
|
||||
|
|
Loading…
Reference in New Issue