mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
timezone is a part of the VCALENDAR file
This commit is contained in:
parent
31edc1b03d
commit
1c51e81181
1 changed files with 5 additions and 1 deletions
|
@ -340,7 +340,11 @@ def proppatch(path, xml_request, calendar):
|
|||
|
||||
with calendar.props as calendar_props:
|
||||
for short_name, value in props_to_set.items():
|
||||
calendar_props[short_name] = value
|
||||
if short_name == 'C:calendar-timezone':
|
||||
calendar.replace('', value)
|
||||
calendar.write()
|
||||
else:
|
||||
calendar_props[short_name] = value
|
||||
_add_propstat_to(response, short_name, 200)
|
||||
for short_name in props_to_remove:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue