diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-24 06:32:17 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-24 06:32:17 +0800 |
commit | 703511b4a899a4f3d7071b9930abf9319620555a (patch) | |
tree | 9da908716547ea94a5e62d6db2db7227c4c79da6 | |
parent | b29fc16e4b9130c44ec5702851166466164fbbf8 (diff) | |
download | gsoc2013-evolution-703511b4a899a4f3d7071b9930abf9319620555a.tar gsoc2013-evolution-703511b4a899a4f3d7071b9930abf9319620555a.tar.gz gsoc2013-evolution-703511b4a899a4f3d7071b9930abf9319620555a.tar.bz2 gsoc2013-evolution-703511b4a899a4f3d7071b9930abf9319620555a.tar.lz gsoc2013-evolution-703511b4a899a4f3d7071b9930abf9319620555a.tar.xz gsoc2013-evolution-703511b4a899a4f3d7071b9930abf9319620555a.tar.zst gsoc2013-evolution-703511b4a899a4f3d7071b9930abf9319620555a.zip |
Set seltime.tm_isdst to -1, not daylight, because the current dst value is
* filter-datespec.c (cal_day_selected): Set seltime.tm_isdst to
-1, not daylight, because the current dst value is not relevant to
the selected date.
svn path=/trunk/; revision=4991
-rw-r--r-- | filter/ChangeLog | 6 | ||||
-rw-r--r-- | filter/filter-datespec.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 98816b6bbe..31b39867cb 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,9 @@ +2000-08-23 Dan Winship <danw@helixcode.com> + + * filter-datespec.c (cal_day_selected): Set seltime.tm_isdst to + -1, not daylight, because the current dst value is not relevant to + the selected date. + 2000-08-18 Peter Williams <peterw@helixcode.com> * filter-driver.c (do_filter_mail): Unlink a new parameter, path_to_unlink, diff --git a/filter/filter-datespec.c b/filter/filter-datespec.c index c087401ee2..3e938f8cc3 100644 --- a/filter/filter-datespec.c +++ b/filter/filter-datespec.c @@ -678,7 +678,6 @@ static void cal_day_selected (GtkCalendar *cal, gpointer user_data) { FilterDatespec *fds = (FilterDatespec *)user_data; - extern int daylight; struct tm seltime; seltime.tm_sec = 0; @@ -687,7 +686,7 @@ cal_day_selected (GtkCalendar *cal, gpointer user_data) seltime.tm_mday = cal->selected_day; seltime.tm_mon = cal->month; seltime.tm_year = cal->year - 1900; - seltime.tm_isdst = daylight; + seltime.tm_isdst = -1; fds->value = mktime (&seltime); } |