summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 3554e4c..7fc395e 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -559,6 +559,10 @@ run_modulator_state_t run_modulator(modulator_data& m)
int main(int argc, char* argv[])
{
+ // Set timezone to UTC
+ setenv("TZ", "", 1);
+ tzset();
+
try {
return launch_modulator(argc, argv);
}