diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-05-07 06:46:54 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-05-07 06:46:54 +0800 |
commit | d1694fef3e63cb4e3e4bf5133222b02e940ff883 (patch) | |
tree | d86275a4692a73c6c68e66b6f69d3f16a552f2d3 /mail/mail-ops.c | |
parent | 35e0a09b15b04e454e5faef81670155282cee0a7 (diff) | |
download | gsoc2013-evolution-d1694fef3e63cb4e3e4bf5133222b02e940ff883.tar gsoc2013-evolution-d1694fef3e63cb4e3e4bf5133222b02e940ff883.tar.gz gsoc2013-evolution-d1694fef3e63cb4e3e4bf5133222b02e940ff883.tar.bz2 gsoc2013-evolution-d1694fef3e63cb4e3e4bf5133222b02e940ff883.tar.lz gsoc2013-evolution-d1694fef3e63cb4e3e4bf5133222b02e940ff883.tar.xz gsoc2013-evolution-d1694fef3e63cb4e3e4bf5133222b02e940ff883.tar.zst gsoc2013-evolution-d1694fef3e63cb4e3e4bf5133222b02e940ff883.zip |
changed these so they just do a simple localtime(), update the struct tm,
2000-05-06 Damon Chaplin <damon@helixcode.com>
* cal-util/timeutil.c (time_day_begin):
(time_day_end): changed these so they just do a simple localtime(),
update the struct tm, then do a mktime(). I don't know why it used to
look at the tm_isdst flags etc. From a little test program I wrote
which steps through testing every hour for a year it wasn't working
correctly, and the new code does.
(time_add_day): also got rid of the stuff that looked at tm_isdst here.
My test program now works better.
svn path=/trunk/; revision=2841
Diffstat (limited to 'mail/mail-ops.c')
0 files changed, 0 insertions, 0 deletions