Bug 1069979 - Don't throw away timezone-strings with dots in Date() r=evilpie

This commit is contained in:
Elbart
2015-04-08 19:37:24 +02:00
parent fdc6dde44f
commit 78181c507c

View File

@@ -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;
}
}