This works in all browsers on my box – try it in the console:
alert(new Date('2001/01/31 12:00:00'))
so
new Date('2001-01-01T12:00:00Z'.replace(/\-/g,'\/').replace(/[T|Z]/g,' '))
IE8, FF3.6, Safari4, Chrome
This works in all browsers on my box – try it in the console:
alert(new Date('2001/01/31 12:00:00'))
so
new Date('2001-01-01T12:00:00Z'.replace(/\-/g,'\/').replace(/[T|Z]/g,' '))
IE8, FF3.6, Safari4, Chrome