View Full Version : Ext.Date and MS format

Peter Prikryl
14 Jun 2011, 5:12 AM
I have a component, that accepts MS-formatted date that usually comes from the server, but I also need to pass the data to it on the client side. When I use format function using the 'MS' format, the parse function does not recognize its result and returns null:

Ext.Date.parse(Ext.Date.format(new Date(), 'MS'), 'MS')

The format function returns superfluous backslashes. My workaround is to not use the format function.

15 Jun 2011, 10:05 AM
same issue here...

// this is null

from the api doc, this should work no ?