Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #852686

Bug#876687: htpdate: Off by one hour

From Mert Dirik <mertdirik@gmail.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#876687: htpdate: Off by one hour
Date 2017-09-25 20:50 +0200
Message-ID <utGC6-1Kz-9@gated-at.bofh.it> (permalink)
References (2 earlier) <utpBg-7cZ-5@gated-at.bofh.it> <utqxk-7O2-17@gated-at.bofh.it> <utGC6-1Kz-11@gated-at.bofh.it> <utmal-50G-15@gated-at.bofh.it> <utGC6-1Kz-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 09/25/2017 09:31 PM, Eddy Vervest wrote:
>
> Hi All,
>
> It seems related to the timezone changes which Turkey had this year... 
> moving away from daylight saving to always +3.
>
> In the bug report this line is interesting:
>
>   Timezone: GMT+2 (+03,+03)
>
> In brackets there should be a time zone in like TRT, CEST, WET... but 
> it tells +03... but at the same time GMT+2. Updating the TZ package 
> (https://packages.debian.org/stretch/tzdata) and setting the system 
> time to the correct timezone probably will solve the issue.
>
> Regards, Eddy
>
> PS. I will look into the code some more, because I don't remember why 
> I use time zone information in the first place... should be possible 
> without I guess.
>
Hi, Eddy

Timezone was set correctly but I configured it again to make sure and 
result is same:

> $ dpkg -s tzdata
> Package: tzdata
> Status: install ok installed
> Priority: required
> Section: localization
> Installed-Size: 3010
> Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
> Architecture: all
> Multi-Arch: foreign
> Version: 2017b-1
> Replaces: libc0.1, libc0.3, libc6, libc6.1
> Provides: tzdata-stretch
> Depends: debconf (>= 0.5) | debconf-2.0
> Description: time zone and daylight-saving time data
>  This package contains data required for the implementation of
>  standard local time for many representative locations around the
>  globe. It is updated periodically to reflect changes made by
>  political bodies to time zone boundaries, UTC offsets, and
>  daylight-saving rules.
> Homepage: http://www.iana.org/time-zones
>
> $ cat /etc/timezone
> Europe/Istanbul
>
> $ sudo dpkg-reconfigure -plow tzdata
> Current default time zone: 'Europe/Istanbul'
> Local time is now:      Mon Sep 25 21:40:52 +03 2017.
> Universal Time is now:  Mon Sep 25 18:40:52 UTC 2017.
>
> $ sudo ntpdate pool.ntp.org; date -u
> 25 Sep 21:41:33 ntpdate[5303]: adjust time server 192.36.143.130 
> offset 0.006932 sec
> Mon Sep 25 18:41:33 UTC 2017
> $ sudo htpdate -s www.google.com.tr www.facebook.com www.youtube.com; 
> date -u
> Setting -3600.333 seconds
> Set: Mon Sep 25 20:41:47 2017
>
> Mon Sep 25 17:41:47 UTC 2017
> $

Best regards,
Mert

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#876687: htpdate: Off by one hour Mert Dirik <mertdirik@gmail.com> - 2017-09-24 23:00 +0200
  Bug#876687: htpdate: Off by one hour Eriberto Mota <eriberto@debian.org> - 2017-09-24 23:50 +0200
    Bug#876687: htpdate: Off by one hour Mert Dirik <mertdirik@gmail.com> - 2017-09-25 02:40 +0200
      Bug#876687: htpdate: Off by one hour Eriberto Mota <eriberto@debian.org> - 2017-09-25 03:40 +0200
        Bug#876687: htpdate: Off by one hour Eddy Vervest <eddy@vervest.org> - 2017-09-26 04:00 +0200
  Bug#876687: htpdate: Off by one hour Mert Dirik <mertdirik@gmail.com> - 2017-09-25 20:50 +0200
    Bug#876687: htpdate: Off by one hour Eddy Vervest <eddy@vervest.org> - 2017-09-25 21:10 +0200
      Bug#876687: htpdate: Off by one hour Mert Dirik <mertdirik@gmail.com> - 2017-09-25 21:20 +0200
  Bug#876687: htpdate: Off by one hour Eddy Vervest <eddy@vervest.org> - 2017-09-25 21:20 +0200
    Bug#876687: htpdate: Off by one hour Mert Dirik <mertdirik@gmail.com> - 2017-09-25 21:30 +0200
    Bug#876687: htpdate: Off by one hour Eriberto <eriberto@eriberto.pro.br> - 2017-09-25 23:50 +0200
    Bug#876687: htpdate: Off by one hour Eddy Vervest <eddy@vervest.org> - 2017-09-29 10:30 +0200

csiph-web