Tune time zone 0
* src/editfns.c (tzlookup): Treat time zone 0 like t, for speed. Suggested by Valery Ushakov (Bug#30738#19).
This commit is contained in:
parent
7ff62ed221
commit
7a7ee53dbd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue