From cf921bd862241e75083afd770fc1121f3bcc5be2 Mon Sep 17 00:00:00 2001 From: sterni Date: Mon, 31 May 2021 21:23:33 +0200 Subject: fix(fun/🕰️): support prefixed `:` for indicating a tz file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We still don't support POSIX timezone descriptions and the like, but I currently don't have the energy to support something just for POSIX's sake. Change-Id: Ifbfc798ebe849e886cc31964b7fbc70ff009ef29 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3167 Reviewed-by: sterni Tested-by: BuildkiteCI --- "fun/\360\237\225\260\357\270\217/bin.lisp" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/fun/\360\237\225\260\357\270\217/bin.lisp" "b/fun/\360\237\225\260\357\270\217/bin.lisp" index 8bd8aa136d7d..1f5a2b2e0518 100644 --- "a/fun/\360\237\225\260\357\270\217/bin.lisp" +++ "b/fun/\360\237\225\260\357\270\217/bin.lisp" @@ -37,7 +37,7 @@ ; TODO(sterni): upstream this into local-time (defun setup-default-timezone () - (let* ((tz (uiop:getenv "TZ")) + (let* ((tz (remove #\: (uiop:getenv "TZ") :count 1)) (tz-dir (uiop:getenv "TZDIR")) (tz-file (if (and tz tz-dir) (merge-pathnames -- cgit 1.4.1