diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-23 14:39:39 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-23 14:39:39 -0700 |
commit | d07dcea2457d9f00d01b055120be38ca80c568bc (patch) | |
tree | 073f0ae67ad3a3006bbc7eee731f839f007a0190 /gpsutils.c | |
parent | 3b637096f8072e9da66f76a99a016837ad44d184 (diff) | |
download | gpsd-d07dcea2457d9f00d01b055120be38ca80c568bc.tar.gz |
gpsutils: DST is not part of UTC!
Diffstat (limited to 'gpsutils.c')
-rw-r--r-- | gpsutils.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -411,8 +411,10 @@ time_t mkgmtime(register struct tm * t) result += t->tm_min; result *= 60; result += t->tm_sec; - if (t->tm_isdst == 1) - result -= 3600; + /* this is UTC, no DST + * if (t->tm_isdst == 1) + * result -= 3600; + */ return (result); } |