summaryrefslogtreecommitdiff
path: root/lib/date/zoneinfo+posixy.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2017-12-04 12:14:13 -0800
committerOri Bernstein <ori@markovcorp.com>2017-12-04 12:16:15 -0800
commitecdf6cac8376af2b0b52c14025ccaa0c4c91a843 (patch)
tree11b715a7ba61a47c4cc24b7e5040d28b8a07252a /lib/date/zoneinfo+posixy.myr
parentebbdfc2631ac5876397ccc52453b69cfd223c95d (diff)
downloadmc-ecdf6cac8376af2b0b52c14025ccaa0c4c91a843.tar.gz
We don't need std.sleq any more.kill-sleq
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 = ""