diff options
author | Frederic Culot <calcurse@culot.org> | 2008-12-13 21:41:25 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-12-13 21:41:25 +0000 |
commit | f06c1b142f8d952ed63ee35727586f9de124b83f (patch) | |
tree | 3d6622a3e2d38bb9c11bbf3930944d4e8ed624ee /src/utils.c | |
parent | 53db22a380ec76a684fd5000d216350aaa795278 (diff) | |
download | calcurse-f06c1b142f8d952ed63ee35727586f9de124b83f.zip |
daylight saving time related problems fixed (thanks youshe and Jan for reporting them)
Diffstat (limited to 'src/utils.c')
-rwxr-xr-x | src/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index f421f10..90c2e60 100755 --- a/src/utils.c +++ b/src/utils.c @@ -1,4 +1,4 @@ -/* $calcurse: utils.c,v 1.57 2008/12/12 20:44:50 culot Exp $ */ +/* $calcurse: utils.c,v 1.58 2008/12/13 21:41:25 culot Exp $ */ /* * Calcurse - text-based organizer @@ -561,6 +561,7 @@ date_sec_change (long date, int delta_month, int delta_day) lt = localtime (&t); lt->tm_mon += delta_month; lt->tm_mday += delta_day; + lt->tm_isdst = -1; t = mktime (lt); if (t == -1) { |