Finding start/end of year for timezone parsing should use GDateTime
The code looks something like the following right now:
/* Get timestamps for the start and end of this year.
* This is used to parse timezone information. */
now = time (NULL);
tm = *gmtime (&now);
tm.tm_mon = 0;
tm.tm_mday = 1;
tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
world_db->year_start = mktime (&tm);
tm.tm_year++;
world_db->year_end = mktime (&tm);