Commit 04b566a1 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fcurrent_time_zone): Accept spaces in timezone

parent e7343b60
......@@ -1767,7 +1767,7 @@ the data it can't find.")
/* On Japanese w32, we can get a Japanese string as time
zone name. Don't accept that. */
char *p;
for (p = s; *p && isalnum (*p); ++p)
for (p = s; *p && (isalnum (*p) || *p == ' '); ++p)
if (p == s || *p)
s = NULL;
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