new Date("May 27, 2011, 1:00 pm EEST")
Firebug Response:
Date {Invalid Date}
Is this a known javascript bug ? how do you interpret the "Eastern European Summer Time" timezone in javascript with date ?
I can change the timezone to +03:00 or +0300 for example, but then it wouldn't be as friendly for the user, because im using the < abbr > tag and with jQuery i format each abbr innerHTML to what their title value is, so that when you hover over it, I still want the tooltip to display "May 27, 2011, 1:00 pm EEST", but in innerHTML i only need "May 27, 2011"
<abbr class="timestamp blue" title="May 27, 2011, 1:00 pm EEST">May 27, 2011</abbr>
However, because of EEST, i get this
<abbr class="timestamp blue" title="May 27, 2011, 1:00 pm EEST">NaN</abbr>
If i change EEST to something more common such as EST or GMT, then no problem, weird.