Fix [ 2034366 ] Firefox 3 problem with #Date context

This commit is contained in:
Carlos Ruiz 2008-07-31 21:14:31 +00:00
parent 90e8d05860
commit 83a28c6d60
1 changed files with 2 additions and 0 deletions

View File

@ -743,6 +743,8 @@ public final class Env
// timestamp requires time
if (s.trim().length() == 10)
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)
s = s.trim() + ".0";