hare

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

commit 12dde04d3b98475d731cb74efc6b287868192aff
parent f542960084521e9d9a3e356c2ba180c2910bff42
Author: Lorenz (xha) <me@xha.li>
Date:   Sat, 25 Nov 2023 15:18:10 +0100

OpenBSD: add time::chrono

Signed-off-by: Lorenz (xha) <me@xha.li>

Diffstat:
Atime/chrono/+openbsd.ha | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/time/chrono/+openbsd.ha b/time/chrono/+openbsd.ha @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: MPL-2.0 +// (c) Hare authors <https://harelang.org> + +def LOCALTIME_PATH: str = "/etc/localtime"; +def ZONEINFO_PREFIX: str = "/usr/share/zoneinfo/"; + +// The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI +// leap second data. +export def UTC_LEAPSECS_FILE: str = "/usr/share/zoneinfo/leap-seconds.list";