#372: Use substitution for timezone specs and ids
----------------------------+-----------------------------------------------
Reporter: dou...@… | Owner: cda...@…
Type: Enhancement | Status: new
Priority: 5: Not set | Milestone:
Component: CalDAV Tester | Severity: Other
Keywords: |
----------------------------+-----------------------------------------------
Allows us to keep them up to date or change them as desired. For example -
added to serverinfo.xml
{{{
<substitution>
<key>$tzspecUSE:</key>
<value>BEGIN:VTIMEZONE
TZID:US/Eastern
LAST-MODIFIED:20040110T032845Z
BEGIN:STANDARD
DTSTART:20001026T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZNAME:EST
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20000404T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZNAME:EDT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
END:DAYLIGHT
END:VTIMEZONE
</value>
</substitution>
<substitution>
<key>$tzidUSE:</key>
<value>US/Eastern</value>
</substitution>
}}}
And changed CalDAVTester/Resource/CalDAV/implicit/deletecalendar/8.ics to
be
{{{
BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
PRODID:-//CALENDARSERVER.ORG//NONSGML Version 1//EN
$tzspecUSE:
BEGIN:VEVENT
UID:[email protected]
DTSTART;TZID=$tzidUSE::20060101T120000
...
}}}
--
Ticket URL: <http://trac.calendarserver.org/ticket/372>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server
_______________________________________________
calendarserver-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev