Bug 1069979 - Don't throw away timezone-strings with dots in Date() r=evilpie
This commit is contained in:
@@ -2582,7 +2582,7 @@ date_format(JSContext* cx, double date, formatspec format, MutableHandleValue rv
|
||||
char16_t c = tzbuf[i];
|
||||
if (c > 127 ||
|
||||
!(isalpha(c) || isdigit(c) ||
|
||||
c == ' ' || c == '(' || c == ')')) {
|
||||
c == ' ' || c == '(' || c == ')' || c == '.')) {
|
||||
usetz = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user