From cf921bd862241e75083afd770fc1121f3bcc5be2 Mon Sep 17 00:00:00 2001 From: sterni Date: Mon, 31 May 2021 21:23:33 +0200 Subject: [PATCH] =?UTF-8?q?fix(fun/=F0=9F=95=B0=EF=B8=8F):=20support=20pre?= =?UTF-8?q?fixed=20`:`=20for=20indicating=20a=20tz=20file?= 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/🕰️/bin.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fun/🕰️/bin.lisp b/fun/🕰️/bin.lisp index 8bd8aa136..1f5a2b2e0 100644 --- a/fun/🕰️/bin.lisp +++ b/fun/🕰️/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