]> Pileus Git - aweather/blobdiff - src/main.c
Set timezone to UTC
[aweather] / src / main.c
index 7ae60d8cd601595aba29d54eafc59ed29a22ed8e..c3d046943e20af5f52b4d20e7395d63e29767283 100644 (file)
@@ -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);