aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/timeutil.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed warning message. (time_add_day): Likewise. (time_add_month):Federico Mena Quintero2000-05-191-4/+11
| | | | | | | | | | | | | | | | | 2000-05-19 Federico Mena Quintero <federico@helixcode.com> * cal-util/timeutil.c (time_add_minutes): Fixed warning message. (time_add_day): Likewise. (time_add_month): Likewise. (time_add_year): Likewise. (time_from_day): Of all functions, *this* one had to have a bug. Set the tm.tm_isdst to -1 to specify that we don't know whether the time is in DST or not. This fixes *many* bugs upstream. (time_week_begin): Likewise. We never noticed this since the week functions are never used. (time_week_end): Likewise. svn path=/trunk/; revision=3135
* changed these so they just do a simple localtime(), update the struct tm,Damon Chaplin2000-05-071-0/+49
| | | | | | | | | | | | | | | 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
* new file -- things shared between the client and server go in thisSeth Alves2000-03-041-0/+501
* cal-util/Makefile.am: new file -- things shared between the client and server go in this directory * calobj.c calobj.h icalendar.c icalendar.h timeutil.c timeutil.h cal-util.c cal-util.h where moved backend stuff went into pcs. shared stuff went into cal-util. svn path=/trunk/; revision=2032