andrewplummer/Sugar — Issue #99: Date creation error in some browsers
Author: jkelly467
Created: 2012-02-01 21:50:20+00:00
State: open

I'm creating a Date based on a string in this format: "2011-05-25 00:00:00.000 CST". This returns "Invalid Date" in at least the mobile Safari browser, Firefox, and IE (haven't tested any others) . The error happens on upon adding the "CST", or indeed any letters at the end. This string parses fine in Chrome.
I actually tracked it down by typing the date string into the test box at the top of the sugarjs.com/dates page, so it can be reproduced there.
Easy enough to hack around by removing the timezone, for my purposes. This may be more of a browser issue also, but I just thought I'd bring it up.