(Fcurrent_time_zone): Accept spaces in timezone
names.
This commit is contained in:
parent
e7343b6085
commit
04b566a183
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue