grim/purple-plugin-pack

e11fec57fef1
a bunch of cleanups to the datetime stuff in irssi

removed the _get_day and _get_month functions and replaced them with a _get_day_and_month function
avoided a need for local time_t's and instead made the _get_day_and_month function return it
avoided allocating memory when it wasn't necessary
/*************************************************************************
* Header file for timezone module
* by Martijn van Oosterhout <kleptog@svana.org> (C) April 2006
* Licenced under the GNU General Public Licence version 2.
*************************************************************************/
#include <time.h>
struct state;
struct state *timezone_load (const char * name);
struct tm * gmtsub (const time_t * timep, long offset,
struct tm * tmp);
struct tm * localsub (const time_t * timep, long offset,
struct tm * tmp, struct state *sp);
int tz_init(const char *zoneinfo_dir);