From 1385401b0455538e23cbb5b31b92fc5862711c8e Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Sat, 7 Jan 2012 23:14:09 +0000 Subject: [PATCH] Set timezone to UTC Almost all meteorological data is in in Coordinated Universal Time. For example, timestamps in files/filenames, etc. This fixes a timezone bug downloading Level-II radar files. --- src/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.c b/src/main.c index 7ae60d8..c3d0469 100644 --- a/src/main.c +++ b/src/main.c @@ -139,6 +139,9 @@ int main(int argc, char *argv[]) {NULL} }; + /* All times in UTC */ + g_setenv("TZ", "UTC", TRUE); + /* Init */ GError *error = NULL; g_thread_init(NULL); -- 2.43.2