hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit e0956ec55d71ccfa8c28e75a28cbd7433a8ef570
parent 99425dbe24b040bb5d647e4df72f8ddd11d021e5
Author: Byron Torres <b@torresjrjr.com>
Date:   Thu,  7 Mar 2024 00:13:56 +0000

time::chrono: improve LOCAL docs

Signed-off-by: Byron Torres <b@torresjrjr.com>

Diffstat:
Mtime/chrono/timezone.ha | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/time/chrono/timezone.ha b/time/chrono/timezone.ha @@ -183,9 +183,9 @@ export fn fixedzone(ts: *timescale, daylen: time::duration, z: zone) timezone = // The local [[locality]]; the system or environment configured [[timezone]]. // -// This is set during a program's initialisation, where the TZ environment -// variable is tried, otherwise the /etc/localtime file is tried, otherwise it -// defaults to [[UTC]]. +// This is set during the program's initialization. In order of preference, the +// TZ environment variable is used, if set; the file at [[LOCALTIME_PATH]], if +// present; or, as a last resort, [[UTC]] is used as a default. export const LOCAL: locality = &TZ_UTC; @init fn init_tz_local() void = {