summaryrefslogtreecommitdiff
path: root/lib/date/zoneinfo+posixy.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/date/zoneinfo+posixy.myr')
-rw-r--r--lib/date/zoneinfo+posixy.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/date/zoneinfo+posixy.myr b/lib/date/zoneinfo+posixy.myr
index 33edd03..e2b8f6c 100644
--- a/lib/date/zoneinfo+posixy.myr
+++ b/lib/date/zoneinfo+posixy.myr
@@ -50,9 +50,9 @@ const findtzoff = {tz, tm -> std.option(date.duration)
zone = z
| `std.None:
/* load zone */
- if std.sleq(tz, "") || std.sleq(tz, "UTC")
+ if std.eq(tz, "") || std.eq(tz, "UTC")
-> `std.Some 0
- elif std.sleq(tz, "local")
+ elif std.eq(tz, "local")
path = std.sldup("/etc/localtime")
else
path = ""