diff --git a/ChangeLog b/ChangeLog index 61e3accf6..08776414c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -234,6 +234,7 @@ Barton Meeks). + Fixed problem with duplicate 'project changed' messages (thanks to Owen Clarke). + + Fixed problem with non-UTC defaults for "TZ" (thanks to Owen Clarke). ------ old releases ------------------------------ diff --git a/src/Nibbler.cpp b/src/Nibbler.cpp index 332ee159c..a51abfe02 100644 --- a/src/Nibbler.cpp +++ b/src/Nibbler.cpp @@ -672,7 +672,7 @@ bool Nibbler::getDateISO (time_t& t) tms.tm_sec = second; char *tz = getenv ("TZ"); - setenv ("TZ", "", 1); + setenv ("TZ", "UTC", 1); tzset (); t = mktime (&tms); if (tz)