Skip to content

Instantly share code, notes, and snippets.

@Grayda
Created October 10, 2017 04:29
Show Gist options
  • Save Grayda/7d95319ebaf1e0ab0f7b6af2e3d30a0c to your computer and use it in GitHub Desktop.
Save Grayda/7d95319ebaf1e0ab0f7b6af2e3d30a0c to your computer and use it in GitHub Desktop.
Timezone demo
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Australia/Melbourne
TZURL:http://tzurl.org/zoneinfo-outlook/Australia/Melbourne
X-LIC-LOCATION:Australia/Melbourne
BEGIN:STANDARD
TZOFFSETFROM:+1100
TZOFFSETTO:+1000
TZNAME:AEST
DTSTART:19700405T030000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+1000
TZOFFSETTO:+1100
TZNAME:AEDT
DTSTART:19701004T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Australia/Melbourne:20161011T084500
DTEND;TZID=Australia/Melbourne:20161011T152000
DTSTAMP;TZID=Australia/Melbourne:20151116T111100
UID:[email protected]
CREATED:20151116T111102
DESCRIPTION:Sample Event
LAST-MODIFIED:20151116T111100
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:This is a sample event
PRIORITY:0
LOCATION:Somewhere
CATEGORIES:Test
TRANSP:OPAQUE
END:VEVENT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment