Files
2026-03-01 16:14:03 +04:00

61 lines
2.7 KiB
Diff

diff --git c/time/chrono/+freebsd.ha i/time/chrono/+freebsd.ha
index 967ae0a8..1779f6d9 100644
--- c/time/chrono/+freebsd.ha
+++ i/time/chrono/+freebsd.ha
@@ -3,4 +3,4 @@
// The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
// leap second data.
-export def UTC_LEAPSECS_PATH: str = "/var/db/ntpd.leap-seconds.list";
+export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
diff --git c/time/chrono/+linux.ha i/time/chrono/+linux.ha
index 3394a7b4..1779f6d9 100644
--- c/time/chrono/+linux.ha
+++ i/time/chrono/+linux.ha
@@ -3,4 +3,4 @@
// The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
// leap second data.
-export def UTC_LEAPSECS_PATH: str = "/usr/share/zoneinfo/leap-seconds.list";
+export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
diff --git c/time/chrono/+openbsd.ha i/time/chrono/+openbsd.ha
index 3394a7b4..1779f6d9 100644
--- c/time/chrono/+openbsd.ha
+++ i/time/chrono/+openbsd.ha
@@ -3,4 +3,4 @@
// The filepath of the system's "leap-seconds.list" file, which contains UTC/TAI
// leap second data.
-export def UTC_LEAPSECS_PATH: str = "/usr/share/zoneinfo/leap-seconds.list";
+export def UTC_LEAPSECS_PATH: str = "@tzdata@/share/zoneinfo/leap-seconds.list";
diff --git c/time/date/+freebsd.ha i/time/date/+freebsd.ha
index 3b08c385..b036002a 100644
--- c/time/date/+freebsd.ha
+++ i/time/date/+freebsd.ha
@@ -7,4 +7,4 @@ export def LOCALTIME_PATH: str = "/etc/localtime";
// The filepath of the system's TZDB (Timezone Database) directory, a filetree
// of TZif (Time Zone Information Format) files and other related files.
-export def TZDB_PATH: str = "/usr/share/zoneinfo";
+export def TZDB_PATH: str = "@tzdata@/share/zoneinfo";
diff --git c/time/date/+linux.ha i/time/date/+linux.ha
index 3b08c385..b036002a 100644
--- c/time/date/+linux.ha
+++ i/time/date/+linux.ha
@@ -7,4 +7,4 @@ export def LOCALTIME_PATH: str = "/etc/localtime";
// The filepath of the system's TZDB (Timezone Database) directory, a filetree
// of TZif (Time Zone Information Format) files and other related files.
-export def TZDB_PATH: str = "/usr/share/zoneinfo";
+export def TZDB_PATH: str = "@tzdata@/share/zoneinfo";
diff --git c/time/date/+openbsd.ha i/time/date/+openbsd.ha
index 3b08c385..b036002a 100644
--- c/time/date/+openbsd.ha
+++ i/time/date/+openbsd.ha
@@ -7,4 +7,4 @@ export def LOCALTIME_PATH: str = "/etc/localtime";
// The filepath of the system's TZDB (Timezone Database) directory, a filetree
// of TZif (Time Zone Information Format) files and other related files.
-export def TZDB_PATH: str = "/usr/share/zoneinfo";
+export def TZDB_PATH: str = "@tzdata@/share/zoneinfo";