guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: system: operating-system: Make the timezone field default to Etc/


From: guix-commits
Subject: 06/06: system: operating-system: Make the timezone field default to Etc/UTC.
Date: Tue, 11 Oct 2022 07:32:23 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit f78cfcd7d3f1f76a5c09c21d76b14983d8428c4d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Oct 10 22:22:16 2022 -0400

    system: operating-system: Make the timezone field default to Etc/UTC.
    
    * gnu/system.scm (<operating-system>) [timezone]: Default to "Etc/UTC".
---
 doc/guix.texi  | 2 +-
 gnu/system.scm | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index be1b4fa378..5867acb746 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16313,7 +16313,7 @@ The default set includes core utilities and it is good 
practice to
 install non-core utilities in user profiles (@pxref{Invoking guix
 package}).
 
-@item @code{timezone}
+@item @code{timezone} (default: @code{"Etc/UTC"})
 A timezone identifying string---e.g., @code{"Europe/Paris"}.
 
 You can run the @command{tzselect} command to find out which timezone
diff --git a/gnu/system.scm b/gnu/system.scm
index 66ca629d63..b7f19d741a 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -265,7 +265,8 @@ VERSION is the target version of the boot-parameters 
record."
   (packages operating-system-packages             ; list of (PACKAGE OUTPUT...)
             (default %base-packages))             ; or just PACKAGE
 
-  (timezone operating-system-timezone)            ; string
+  (timezone operating-system-timezone
+            (default "Etc/UTC"))                  ; string
   (locale   operating-system-locale               ; string
             (default "en_US.utf8"))
   (locale-definitions operating-system-locale-definitions ; list of 
<locale-definition>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]