Commit 7a7ee53d authored by Paul Eggert's avatar Paul Eggert
Browse files

Tune time zone 0

* src/editfns.c (tzlookup): Treat time zone 0 like t, for speed.
Suggested by Valery Ushakov (Bug#30738#19).
parent 7ff62ed2
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment