summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 8170958c54..dbea6cafdc 100644
--- a/time.c
+++ b/time.c
@@ -3234,7 +3234,7 @@ end_submicro: ;
GetTimeval(time, tobj);
tobj->tm_got = 0;
- tobj->gmt = gmt;
+ if (gmt) TIME_SET_UTC(tobj);
tobj->timev = timev;
return time;