Wrong time with correct timezone
Tofloor
poster avatar
nomko
deepin
2016-06-25 14:32
Author
Edited by nomko at 2016-6-24 23:49

Ok,
Jus installed deepin and i noticed the following. The timezone for my region (The Netherlands ) cannot be set correctly. Normally we differs +01:00 hours from the UTC time (UTC+1).

But if i select the UTC+1 time, the time shown in the taskbar is not correct: it is minus 1 hour.
If i select UTC+2 time, the time shown is correct (UTC time + 2 hours)
result of termina coomand timedatectl:
  1. nomko@MSI-GE70-2PE:~$ timedatectl
  2.       Local time: vr 2016-06-24 23:47:47 CET
  3.   Universal time: vr 2016-06-24 22:47:47 UTC
  4.         RTC time: vr 2016-06-24 22:47:47
  5.        Time zone: Africa/Algiers (CET, +0100)
  6. Network time on: yes
  7. NTP synchronized: yes
  8. RTC in local TZ: no
Copy the Code


Why can't i set my time correctly?


Reply Favorite View the author
All Replies
tristar
deepin
2016-06-25 16:10
#1
run from the terminal

  1. sudo dpkg-reconfigure tzdata
Copy the Code


and make right changes
Reply View the author
nomko
deepin
2016-06-27 09:35
#2
https://bbs.deepin.org/post/31198
run from the terminal

Thanks! That did the trick.

  1. nomko@MSI-GE70-2PE:~$ timedatectl
  2.       Local time: zo 2016-06-26 19:33:28 CEST
  3.   Universal time: zo 2016-06-26 17:33:28 UTC
  4.         RTC time: zo 2016-06-26 18:33:28
  5.        Time zone: Europe/Amsterdam (CEST, +0200)
  6. Network time on: yes
  7. NTP synchronized: yes
  8. RTC in local TZ: yes

  9. Warning: The system is configured to read the RTC time in the local time zone.
  10.          This mode can not be fully supported. It will create various problems
  11.          with time zone changes and daylight saving time adjustments. The RTC
  12.          time is never updated, it relies on external facilities to maintain it.
  13.          If at all possible, use RTC in UTC by calling
  14.          'timedatectl set-local-rtc 0'.
  15. nomko@MSI-GE70-2PE:~$
Copy the Code


But now i notice a difference of 2 hours between UTC time and my local time which should be 1 hour difference...
Reply View the author
tristar
deepin
2016-06-28 03:28
#3
Change timezone now in deepin control center. I believe this will fix it, if not, then you should send devs some note about that. For me was this solution as I say in first message. But hey, maybe is now something changed from day I make changes around date. Good Luck!
Reply View the author
omelette
deepin
2016-06-30 10:17
#4
Correct me if I'm wrong, but 'Daylight Saving Time' is not used in Asia, therefore Deepin (probably) doesn't take it into account either.  It bugged me when I first started using Deepin, but just bit the bullet and chose a time-zone with a 1-hour offset to get the correct time.
Reply View the author
akito
deepin
2016-10-12 12:08
#5
https://bbs.deepin.org/post/31198
Correct me if I'm wrong, but 'Daylight Saving Time' is not used in Asia, therefore Deepin (probably) ...

That doesn't work for the Central European Timezone, because this is the only timezone not set correctly. If you choose one below, it's too early and if you choose the timezone above it's too late. If you choose the "right" timezone it will still be the same timezone that was above mine in the first place. This seems more like a bug, where one timezone got the same value as another timezone, so basically one timezone, in this specific case its the Central European Timezone, is not in the list at all, because its data was overwritten by another timezone.
Reply View the author