about summary refs log tree commit diff
path: root/src/time/timegm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/timegm.c')
-rw-r--r--src/time/timegm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/time/timegm.c b/src/time/timegm.c
index e7a7939b..b5dae8b6 100644
--- a/src/time/timegm.c
+++ b/src/time/timegm.c
@@ -2,6 +2,8 @@
 #include "time_impl.h"
 #include <errno.h>
 
+extern const char __gmt[];
+
 time_t timegm(struct tm *tm)
 {
 	struct tm new;
@@ -13,6 +15,6 @@ time_t timegm(struct tm *tm)
 	*tm = new;
 	tm->tm_isdst = 0;
 	tm->__tm_gmtoff = 0;
-	tm->__tm_zone = "GMT";
+	tm->__tm_zone = __gmt;
 	return t;
 }