[evolution-patches] A patch for calendar based on trunk
- From: Kidd Wang <kidd wang sun com>
- To: JP Rosevear <jpr ximian com>, Rodrigo Moya <rodrigo ximian com>, evolution-patches ximian com
- Subject: [evolution-patches] A patch for calendar based on trunk
- Date: Tue, 10 Feb 2004 15:53:35 +0800
Hi,
This patch is aimed for trunk. We have found a bug in calendar which can
be reproduced as follows:
1.Invoke your evolution
2.Create a new All-day event somewhere, for example, in 12/25
3.Print preview it
4.Save and close it
5.Froward it as iCalendar
6.Explore the message with calendar information
Actual result:
After #3,the time of appointment is from 12/25 8:00 to 12/26 8:00.
After #6,you will see that the start time is 12/25 and the end time is
12/26en.
I guess that's because of the invalid time zone and enclosed is a patch
to fix that. Would you like to spend a little time to review it?
Best regards
Index: calendar/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2143
diff -r1.2143 ChangeLog
0a1,5
> 2004-02-10 Kidd Wang <kidd wang sun com>
>
> * gui/print.c: (print_date_label): guarantee we do have some timezone
> before the time convertion.
>
Index: calendar/gui/print.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/print.c,v
retrieving revision 1.65
diff -r1.65 print.c
2217a2218,2219
> if (!start_zone)
> start_zone = calendar_config_get_icaltimezone ();
2225a2228,2229
> if (!end_zone)
> end_zone = calendar_config_get_icaltimezone ();
2233a2238,2239
> if (!due_zone)
> due_zone = calendar_config_get_icaltimezone ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]