-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 1.6.3
-
Component/s: Shell
-
Labels:None
-
Environment:Linux santogold 2.6.32-25-generic #45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64 GNU/Linux
-
Linux
In the shell, doing, calling Date() gets you the current date, regardless of what argument you give it. Calling "new Date()" gets you the argument string converted:
> Date("November 15, 2010 10:00:00 UTC")
Mon Nov 08 2010 10:42:17 GMT-0500 (EST)
> new Date("November 15, 2010 10:00:00 UTC")
"Mon Nov 15 2010 05:00:00 GMT-0500 (EST)"
This is, at best, unexpected.