diff options
-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); } |