all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Guixsd adds 2 hours to a BIOS time
  2019-05-22 22:18 Guixsd adds 2 hours to a BIOS time Adam Mazurkiewicz
@ 2019-05-22 20:38 ` Tobias Geerinckx-Rice
  2019-05-24 17:27   ` Adam Mazurkiewicz
  0 siblings, 1 reply; 3+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-05-22 20:38 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Adam,

Adam Mazurkiewicz wrote:
> I live in Poland and I set time in config.scm in this way:
> (...)
> (operating-system
>   (host-name "s")
>   (timezone "Europe/Warsaw")
>   (locale "en_US.utf8")
>
>   (keyboard-layout (keyboard-layout "pl"))
> (...)
> Then I changed Warsaw to Paris because both have the same 
> timezone and
> DST (Daylight Saving Time).
>
> In both cases, Warsaw and Paris, Guixsd added two hours to the 
> time
> that was set in computer BIOS. So the 'date' command in the 
> terminal
> gave wrong time, to hours later.

This all sounds very… correct, to be honest.

Your ‘BIOS’ (hardware) clock should always be set to UTC, not your 
local time.  Imagine your computer moving its CMOS clock forward & 
back twice a year.  Or every time you travel to a different 
timezone.  It would look as silly and confused as the rest of us.

Put differently: the time displayed in your computer firmware's 
setup utility *should* be 2 hours behind your watch.  This is what 
all modern operating systems (even Windows, I've been told, if you 
ask it nicely) and other software expect.  It's not specific to 
Guix System¹.

Judging by the fact that your e-mail arrived tomorrow, I'm 
guessing that's not currently the case.

Kind regards,

T G-R

[1]: Previously known as ‘GuixSD’.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Guixsd adds 2 hours to a BIOS time
@ 2019-05-22 22:18 Adam Mazurkiewicz
  2019-05-22 20:38 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Mazurkiewicz @ 2019-05-22 22:18 UTC (permalink / raw)
  To: help-guix

I live in Poland and I set time in config.scm in this way:
(...)
(operating-system
  (host-name "s")
  (timezone "Europe/Warsaw")
  (locale "en_US.utf8")

  (keyboard-layout (keyboard-layout "pl"))
(...)
Then I changed Warsaw to Paris because both have the same timezone and
DST (Daylight Saving Time).

In both cases, Warsaw and Paris, Guixsd added two hours to the time
that was set in computer BIOS. So the 'date' command in the terminal
gave wrong time, to hours later.

Setting the BIOS time to a two hours earlier time is not a good
solution, I think. What to do to fix this 2 hours offset?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Guixsd adds 2 hours to a BIOS time
  2019-05-22 20:38 ` Tobias Geerinckx-Rice
@ 2019-05-24 17:27   ` Adam Mazurkiewicz
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Mazurkiewicz @ 2019-05-24 17:27 UTC (permalink / raw)
  To: help-guix

śr., 22 maj 2019 o 22:38 Tobias Geerinckx-Rice <me@tobias.gr> napisał(a):
>
> Adam,
>
> Adam Mazurkiewicz wrote:
> > I live in Poland and I set time in config.scm in this way:
> > (...)
> > (operating-system
> >   (host-name "s")
> >   (timezone "Europe/Warsaw")
> >   (locale "en_US.utf8")
> >
> >   (keyboard-layout (keyboard-layout "pl"))
> > (...)
> > Then I changed Warsaw to Paris because both have the same
> > timezone and
> > DST (Daylight Saving Time).
> >
> > In both cases, Warsaw and Paris, Guixsd added two hours to the
> > time
> > that was set in computer BIOS. So the 'date' command in the
> > terminal
> > gave wrong time, to hours later.
>
> This all sounds very… correct, to be honest.
>
> Your ‘BIOS’ (hardware) clock should always be set to UTC, not your
> local time.  Imagine your computer moving its CMOS clock forward &
> back twice a year.  Or every time you travel to a different
> timezone.  It would look as silly and confused as the rest of us.
>
> Put differently: the time displayed in your computer firmware's
> setup utility *should* be 2 hours behind your watch.  This is what
> all modern operating systems (even Windows, I've been told, if you
> ask it nicely) and other software expect.  It's not specific to
> Guix System¹.
>
> Judging by the fact that your e-mail arrived tomorrow, I'm
> guessing that's not currently the case.
You are right. I have always been setting CEST in BIOS but it has been
wrong. Thanks, for your great advice, Tobias.
>
> Kind regards,
>
> T G-R
>
> [1]: Previously known as ‘GuixSD’.
Kind regards,
Adam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-24 17:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-22 22:18 Guixsd adds 2 hours to a BIOS time Adam Mazurkiewicz
2019-05-22 20:38 ` Tobias Geerinckx-Rice
2019-05-24 17:27   ` Adam Mazurkiewicz

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.