source:
npl/overig/libical/libical-event-outside-timezone-def.diff
@
128fde4
Last change on this file since 128fde4 was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 740 bytes |
-
src/libical/icaltimezone.c
diff -Nurb libical-0.44.orig/src/libical/icaltimezone.c libical-0.44/src/libical/icaltimezone.c
old new 883 883 change_num += step; 884 884 885 885 /* If we go past the start of the changes array, then we have no data 886 for this time so we return a UTC offset of 0. */ 887 if (change_num < 0) 888 return 0; 886 for this time so we return the prev UTC offset. */ 887 if (change_num < 0) { 888 if (is_daylight) 889 *is_daylight = ! tmp_change.is_daylight; 890 return tmp_change.prev_utc_offset; 891 } 889 892 890 893 if ((unsigned int)change_num >= zone->changes->num_elements) 891 894 break;
Note: See TracBrowser
for help on using the repository browser.