[CalendarServer-dev] [Calendar and Contacts Server] #372: Use substitution for timezone specs and ids
Calendar and Contacts Server
trac at macosforge.org
Tue Mar 30 10:14:11 PDT 2010
#372: Use substitution for timezone specs and ids
----------------------------+-----------------------------------------------
Reporter: douglm@… | Owner: cdaboo@…
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:event5 at ninevah.local
DTSTART;TZID=$tzidUSE::20060101T120000
...
}}}
--
Ticket URL: <http://trac.calendarserver.org/ticket/372>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server
More information about the calendarserver-dev
mailing list