PDA

View Full Version : encoding js MS date



ferengidedalo
2 Aug 2012, 5:55 AM
Where is extjs 4.1.1 encoding a date to send to JSON?

In previews version was using Ext.JSON.encodeDate (http://docs.sencha.com/ext-js/4-1/#!/api/Ext.JSON-method-encodeDate) but it is no calling that function anymore,

The encoding is not working fine, it is adding a couple of "\" that make errors on server side.

scottmartin
2 Aug 2012, 8:18 AM
Where is extjs 4.1.1 encoding a date to send to JSON?

Right where we left it ;)
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.JSON-method-encodeDate

Regards,
Scott.