Fix [ 2034366 ] Firefox 3 problem with #Date context
This commit is contained in:
parent
90e8d05860
commit
83a28c6d60
|
@ -743,6 +743,8 @@ public final class Env
|
||||||
// timestamp requires time
|
// timestamp requires time
|
||||||
if (s.trim().length() == 10)
|
if (s.trim().length() == 10)
|
||||||
s = s.trim() + " 00:00:00.0";
|
s = s.trim() + " 00:00:00.0";
|
||||||
|
else if (s.trim().length() == 20 && s.trim().endsWith(".")) // FF3 returning date without the ending 0
|
||||||
|
s = s.trim() + "0";
|
||||||
else if (s.indexOf('.') == -1)
|
else if (s.indexOf('.') == -1)
|
||||||
s = s.trim() + ".0";
|
s = s.trim() + ".0";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue