diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-07-18 04:07:27 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-07-18 04:07:27 +0800 |
commit | a71364b4a1e764bcbc31826bb632c1fa8e06eafb (patch) | |
tree | ee2b3033cb9bfffe86d44ca7b2b59bcdc013908b /calendar/cal-util/timeutil.h | |
parent | de5890b84b581099ab27937f9dd592f4658efdc0 (diff) | |
download | gsoc2013-evolution-a71364b4a1e764bcbc31826bb632c1fa8e06eafb.tar.gz gsoc2013-evolution-a71364b4a1e764bcbc31826bb632c1fa8e06eafb.tar.zst gsoc2013-evolution-a71364b4a1e764bcbc31826bb632c1fa8e06eafb.zip |
Really fixes #4380. The previous fix was necessary but not sufficient; it
2001-07-17 Federico Mena Quintero <federico@ximian.com>
Really fixes #4380. The previous fix was necessary but not
sufficient; it worked for me because my system timezone happens to
match the Evolution timezone --- if they don't match, the bug
would persist.
* cal-util/timeutil.c (time_to_gdate_with_zone): New function. We
cannot use g_date_set_time() anymore because it does not take
timezones into account.
* gui/gnome-cal.c (get_days_shown): Use the function above.
* gui/e-day-view.c (e_day_view_find_work_week_start): Likewise.
* gui/e-week-view.c (e_week_view_set_selected_time_range): Likewise.
2001-07-17 Jon Trowbridge <trow@ximian.com>
svn path=/trunk/; revision=11167
Diffstat (limited to 'calendar/cal-util/timeutil.h')
-rw-r--r-- | calendar/cal-util/timeutil.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar/cal-util/timeutil.h b/calendar/cal-util/timeutil.h index 3679173572..0e2795b287 100644 --- a/calendar/cal-util/timeutil.h +++ b/calendar/cal-util/timeutil.h @@ -116,5 +116,6 @@ time_t time_day_begin_with_zone (time_t time, icaltimezone *zone); timezone. (The end of the day is the start of the next day.) */ time_t time_day_end_with_zone (time_t time, icaltimezone *zone); +void time_to_gdate_with_zone (GDate *date, time_t time, icaltimezone *zone); #endif |