]>
Commit | Line | Data |
---|---|---|
3368736e JB |
1 | --- openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_property.c.orig 2019-07-03 05:47:28.580770627 +0200 |
2 | +++ openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_property.c 2019-07-03 17:20:38.425459111 +0200 | |
3 | @@ -517,7 +517,7 @@ | |
4 | icalproperty_add_parameter(prop, tzid); | |
5 | } else { | |
6 | /*Get time from dtstart*/ | |
7 | - icaltime.is_utc = 1; | |
8 | + icaltime_set_timezone(&icaltime, icaltimezone_get_utc_timezone()); | |
9 | if (exchange2ical->apptEndWhole){ | |
10 | dttime = get_icaltime_from_FILETIME_UTC(exchange2ical->apptStartWhole); | |
11 | icaltime.hour = dttime.hour; | |
1b9a9805 JB |
12 | --- openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_utils.c.orig 2021-03-26 19:02:03.857346951 +0100 |
13 | +++ openchange-openchange-2.3-VULCAN/libexchange2ical/exchange2ical_utils.c 2021-03-26 19:14:41.946490441 +0100 | |
14 | @@ -241,10 +241,9 @@ struct icaltimetype get_icaltimetype_fro | |
3368736e JB |
15 | tt.minute = tm->tm_min; |
16 | tt.second = tm->tm_sec; | |
17 | ||
18 | - tt.is_utc = 0; | |
19 | tt.is_date = 0; | |
20 | tt.is_daylight = 0; | |
21 | - tt.zone = 0; | |
22 | + tt.zone = NULL; | |
23 | ||
24 | return tt; | |
25 | } | |
1b9a9805 | 26 | @@ -254,7 +253,7 @@ struct icaltimetype get_icaltimetype_fro |
3368736e JB |
27 | struct icaltimetype tt; |
28 | ||
29 | tt = get_icaltimetype_from_tm(tm); | |
30 | - tt.is_utc = 1; | |
31 | + icaltime_set_timezone(&tt, icaltimezone_get_utc_timezone()); | |
32 | ||
33 | return tt; | |
34 | } | |
1b9a9805 | 35 | @@ -270,10 +269,9 @@ struct icaltimetype get_icaldate_from_tm |
3368736e JB |
36 | tt.minute = 0; |
37 | tt.second = 0; | |
3368736e JB |
38 | |
39 | - tt.is_utc = 1; | |
40 | tt.is_date = 1; | |
41 | tt.is_daylight = 0; | |
42 | - tt.zone = NULL; | |
43 | + icaltime_set_timezone(&tt, icaltimezone_get_utc_timezone()); | |
44 | ||
45 | return tt; | |
46 | } | |
1b9a9805 | 47 | @@ -313,7 +311,6 @@ struct icaltimetype get_icaltime_from_FI |
3368736e JB |
48 | tt.minute = tm->tm_min; |
49 | tt.second = tm->tm_sec; | |
50 | tt.is_date = 0; | |
51 | - tt.is_utc = 0; | |
52 | tt.is_daylight = 0; | |
53 | tt.zone = NULL; | |
54 | ||
1b9a9805 | 55 | @@ -339,9 +336,8 @@ struct icaltimetype get_icaltime_from_FI |
3368736e JB |
56 | tt.minute = tm->tm_min; |
57 | tt.second = tm->tm_sec; | |
58 | tt.is_date = 0; | |
59 | - tt.is_utc = 1; | |
60 | tt.is_daylight = 0; | |
61 | - tt.zone = NULL; | |
62 | + icaltime_set_timezone(&tt, icaltimezone_get_utc_timezone()); | |
63 | ||
64 | return tt; | |
65 | } | |
1b9a9805 | 66 | @@ -371,9 +367,8 @@ struct icaltimetype get_icaldate_from_FI |
3368736e JB |
67 | tt.minute = 0; |
68 | tt.second = 0; | |
69 | tt.is_date = 1; | |
70 | - tt.is_utc = 1; | |
71 | tt.is_daylight = 0; | |
72 | - tt.zone = NULL; | |
73 | + icaltime_set_timezone(&tt, icaltimezone_get_utc_timezone()); | |
74 | ||
75 | return tt; | |
76 | } | |
1b9a9805 | 77 | @@ -390,10 +385,9 @@ struct icaltimetype get_icaldate_from_Gl |
3368736e JB |
78 | tt.minute = 0; |
79 | tt.second = 0; | |
80 | ||
81 | - tt.is_utc = 1; | |
82 | tt.is_date = 1; | |
83 | tt.is_daylight = 0; | |
84 | - tt.zone = NULL; | |
85 | + icaltime_set_timezone(&tt, icaltimezone_get_utc_timezone()); | |
86 | ||
87 | return tt; | |
88 | } |