On 09/25/2017 09:57 PM, Eddy Vervest wrote:
Hi Mert,
Thanks for your quick response. Can you try to set you system to EAT
time zone? That timezone had GMT+3 already for long time... if that
works it is for sure the timezone database of debian.
Changing my code, so it will not use timezone info, isn't as
straightforward as I thought... will need some more investigation.
Regards, Eddy
That seems to do it:
$ sudo dpkg-reconfigure -plow tzdata
[sudo] password for mert:
Current default time zone: 'Africa/Djibouti'
Local time is now: Mon Sep 25 21:02:10 EAT 2017.
Universal Time is now: Mon Sep 25 18:02:10 UTC 2017.
$ sudo ntpdate pool.ntp.org; date -u
25 Sep 22:02:46 ntpdate[8432]: step time server 62.12.173.12 offset
3601.195427 sec
Mon Sep 25 19:02:46 UTC 2017
$ sudo htpdate -s www.google.com.tr www.facebook.com www.youtube.com;
date -u
No time correction needed
Mon Sep 25 19:03:01 UTC 2017