From 7fd897c51ceaa3ff5760025598387ad1208498cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 29 Sep 2020 09:30:42 +0200 Subject: [PATCH] man: explain why TZ=: is used Also, reword the description a bit. "As a string" is meaningless in the context of commandline arguments, where evyrything is a string. This is not a strongly-typed programming language where 5 is a number but "5" is something completely different. Here both 5 and "5" are indistinguishable. The original text was trying to say that a location name should be given and not a number, so say "time zone location name". For #17177. --- man/homectl.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/man/homectl.xml b/man/homectl.xml index dd16e47bebf..732b7511ad0 100644 --- a/man/homectl.xml +++ b/man/homectl.xml @@ -299,11 +299,13 @@ TIMEZONE - Takes a timezone specification as string that sets the timezone for the specified - user. Expects a `tzdata` location string. When the user logs in the $TZ - environment variable is initialized from this setting. Example: - will result in the environment variable - TZ=:Europe/Amsterdam. + Takes a time zone location name that sets the timezone for the specified user. When + the user logs in the $TZ environment variable is initialized from this + setting. Example: will result in the environment + variable TZ=:Europe/Amsterdam. (: is used intentionally as part + of the timezone specification, see + tzset3.) + -- 2.47.3