You are not logged in.

#1 2017-03-04 19:06:19

ChesSeu
Member
Registered: 2016-10-27
Posts: 18

[SOLVED]Time wrong cause of Winter Time.

So my system clock is set to URC + 1, but in my country we preserve daylight during winter which means that the time should be shown as just UTC during the winter. Can anyone help me correct this?
my timedatectl output is as following

~]$ timedatectl
      Local time: Sat 2017-03-04 21:00:26 CET
  Universal time: Sat 2017-03-04 20:00:26 UTC
        RTC time: Sat 2017-03-04 20:00:25
       Time zone: Europe/Oslo (CET, +0100)
 Network time on: no
NTP synchronized: no
 RTC in local TZ: no

Last edited by ChesSeu (2017-03-07 09:03:14)

Offline

#2 2017-03-04 20:19:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: [SOLVED]Time wrong cause of Winter Time.

Sorry, you do what?
I found no source that claims norway would not be CET/CEST and were still in CET.
You will get CEST (which equals UTC) from 26.03.2017, 02:00 until 29.10.2017, 03:00

Daylight saving generally happens in summer, you cannot magically save light in winter in norway - the sun just refuses to show up, sorry ;-)

If you live in some special region that has decided to keep CEST for the entire year, set the timezone to CEST (and tell me where that is smile

Offline

#3 2017-03-04 20:39:54

ayekat
Member
Registered: 2011-01-17
Posts: 1,634

Re: [SOLVED]Time wrong cause of Winter Time.

???

CEST is not UTC, it's UTC+2 (while CET is UTC+1).

And none of this makes any sense - as seth already noted, you can't have "daylight saving in winter". If you mean that your country does not change the clock in spring and autumn, it just means your country stays in the same UTC offset throughout the entire year - but that country is quite probably not Norway, as according to Wikipedia they do apply daylight saving (CET/CEST).

So which country are we talking about?


pkgs │ hacks │ cfg │ blag

Offline

#4 2017-03-04 21:06:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: [SOLVED]Time wrong cause of Winter Time.

CEST is invalid and resolves to UTC implicitly ;-)
However, I just tried and timedatectl refuses it for being unknown. Sad. smile

Offline

#5 2017-03-04 22:31:45

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 281
Website

Re: [SOLVED]Time wrong cause of Winter Time.

All of Norway observe the same normal rules for daylight savings and Linux handles this perfectly. OP has set hardware clock to local time for Norway (UTC+1), which is incorrect. Fix this and local time will be displayed correctly.

Offline

#6 2017-03-07 09:02:48

ChesSeu
Member
Registered: 2016-10-27
Posts: 18

Re: [SOLVED]Time wrong cause of Winter Time.

Thanks Daerandin:) Solved it.

Offline

Board footer

Powered by FluxBB