From 1da29bab5d909484d332cf2777da92def62023a6 Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Mon, 22 Oct 2001 23:40:29 +0000 Subject: updated all files again, placing current RDATEs first, so Outlook uses 2001-10-22 Damon Chaplin * zoneinfo/*: updated all files again, placing current RDATEs first, so Outlook uses those. Also fixed a few bugs in vzic which resulted in a few changes. * zoneinfo/Makefile.am (DIRS): added America/North_Dakota. 2001-10-22 Damon Chaplin * src/libical/icaltimezone.c (icaltimezone_get_utc_offset): (icaltimezone_get_utc_offset_of_utc_time): if we go off the start of the changes array, return the TZOFFSETFROM of the first change. Also changed the maximum year to 2037. * src/libical/icaltime.c (icaltime_day_of_week): (icaltime_start_doy_of_week): (icaltime_week_number): init tm_hour to 12. Sometimes mktime() adjusts the time, if that local time doesn't actually exist, leading to the wrong day being returned. It is unlikely to adjust by 12 hours. (icaltime_as_timet_with_zone): (icaltime_from_timet_with_zone): change it back so it does convert DATE values to/from the timezone. time_t values don't really go well with DATE values, so be very careful when using them. We now assume that the time_t points to the start of the day in the given timezone. (We used to assume it pointed to the start of the day in UTC, but that meant it was actually incorrect wrt the displayed calendar.) * src/libical/icalrecur.c (expand_year_days): for FREQ=YEARLY with no modifiers, we add one day, using the month and day from DTSTART. (next_year): make sure we never go past 2037. * scripts/mkderivedproperties.pl: Updated to allow DTSTART, DTEND, DUE and RECURRENCE-ID to be set with DATE values. I think it now handles all properties which can take DATE values, except RDATE which uses DATE-TIME-PERIOD. svn path=/trunk/; revision=13912 --- libical/zoneinfo/Indian/Antananarivo.ics | 14 +++++++------- libical/zoneinfo/Indian/Maldives.ics | 16 ++++++++-------- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'libical/zoneinfo/Indian') diff --git a/libical/zoneinfo/Indian/Antananarivo.ics b/libical/zoneinfo/Indian/Antananarivo.ics index c14e44b16d..c22aac9f12 100644 --- a/libical/zoneinfo/Indian/Antananarivo.ics +++ b/libical/zoneinfo/Indian/Antananarivo.ics @@ -2,14 +2,14 @@ BEGIN:VCALENDAR PRODID:-//Ximian//NONSGML Evolution Olson-VTIMEZONE Converter//EN VERSION:2.0 BEGIN:VTIMEZONE -TZID:/softwarestudio.org/Olson_20010831_3/Indian/Antananarivo +TZID:/softwarestudio.org/Olson_20011022_4/Indian/Antananarivo X-LIC-LOCATION:Indian/Antananarivo BEGIN:STANDARD -TZOFFSETFROM:+0310 +TZOFFSETFROM:+0400 TZOFFSETTO:+0300 TZNAME:EAT -DTSTART:19110701T000000 -RDATE:19110701T000000 +DTSTART:19540530T000000 +RDATE:19540530T000000 END:STANDARD BEGIN:DAYLIGHT TZOFFSETFROM:+0300 @@ -19,11 +19,11 @@ DTSTART:19540227T230000 RDATE:19540227T230000 END:DAYLIGHT BEGIN:STANDARD -TZOFFSETFROM:+0400 +TZOFFSETFROM:+0310 TZOFFSETTO:+0300 TZNAME:EAT -DTSTART:19540530T000000 -RDATE:19540530T000000 +DTSTART:19110701T000000 +RDATE:19110701T000000 END:STANDARD END:VTIMEZONE END:VCALENDAR diff --git a/libical/zoneinfo/Indian/Maldives.ics b/libical/zoneinfo/Indian/Maldives.ics index 51f6e072c8..4252389a9e 100644 --- a/libical/zoneinfo/Indian/Maldives.ics +++ b/libical/zoneinfo/Indian/Maldives.ics @@ -2,21 +2,21 @@ BEGIN:VCALENDAR PRODID:-//Ximian//NONSGML Evolution Olson-VTIMEZONE Converter//EN VERSION:2.0 BEGIN:VTIMEZONE -TZID:/softwarestudio.org/Olson_20010831_3/Indian/Maldives +TZID:/softwarestudio.org/Olson_20011022_4/Indian/Maldives X-LIC-LOCATION:Indian/Maldives BEGIN:STANDARD TZOFFSETFROM:+0454 -TZOFFSETTO:+0454 -TZNAME:MMT -DTSTART:18800101T000000 -RDATE:18800101T000000 -END:STANDARD -BEGIN:STANDARD -TZOFFSETFROM:+0454 TZOFFSETTO:+0500 TZNAME:MVT DTSTART:19600101T000000 RDATE:19600101T000000 END:STANDARD +BEGIN:STANDARD +TZOFFSETFROM:+0454 +TZOFFSETTO:+0454 +TZNAME:MMT +DTSTART:18800101T000000 +RDATE:18800101T000000 +END:STANDARD END:VTIMEZONE END:VCALENDAR -- cgit