We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/etc/zoneinfo
1 parent 58f94f8 commit cf44db2Copy full SHA for cf44db2
src/crystal/system/unix/time.cr
@@ -70,11 +70,13 @@ module Crystal::System::Time
70
end
71
72
# Many systems use /usr/share/zoneinfo, Solaris 2 has
73
- # /usr/share/lib/zoneinfo, IRIX 6 has /usr/lib/locale/TZ.
+ # /usr/share/lib/zoneinfo, IRIX 6 has /usr/lib/locale/TZ,
74
+ # NixOS has /etc/zoneinfo.
75
ZONE_SOURCES = {
76
"/usr/share/zoneinfo/",
77
"/usr/share/lib/zoneinfo/",
78
"/usr/lib/locale/TZ/",
79
+ "/etc/zoneinfo/",
80
}
81
82
# Android Bionic C-specific locations. These are files rather than directories
0 commit comments