[calendar] add timezone parameter to calendarevent in order order do get the good date/hours in ical exports

This commit is contained in:
Bezleputh 2015-09-11 15:53:21 +02:00
commit 0936e1dfc4
6 changed files with 28 additions and 3 deletions

View file

@ -44,6 +44,7 @@ class BaseCalendarEvent(BaseObject):
url = StringField('URL of the event')
start_date = DateField('Start date of the event')
end_date = DateField('End date of the event')
timezone = StringField('Timezone of the event in order to convert to utc time', default='Etc/UCT')
summary = StringField('Title of the event')
city = StringField('Name of the city in witch event will take place')
location = StringField('Location of the event')