From: Paul Eggert Date: Mon, 19 Mar 2018 20:29:22 +0000 (-0700) Subject: Tune time zone 0 X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~5846 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7a7ee53dbdcf489050653f04ba3d0c491245c5fa;p=emacs.git Tune time zone 0 * src/editfns.c (tzlookup): Treat time zone 0 like t, for speed. Suggested by Valery Ushakov (Bug#30738#19). --- diff --git a/src/editfns.c b/src/editfns.c index d26319441b3..cb7353a48c6 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -147,7 +147,7 @@ tzlookup (Lisp_Object zone, bool settz) if (NILP (zone)) return local_tz; - else if (EQ (zone, Qt)) + else if (EQ (zone, Qt) || EQ (zone, make_number (0))) { zone_string = "UTC0"; new_tz = utc_tz;