View Full Version : problem with date field in editorgrid
alex_aam
16 Nov 2007, 11:43 AM
Hello, i am new to Ext js. i wanted make a small code to learn it, so i decide to write code that use a editorgrid that inserts, update and remove records trough a webservice (asp.net 1.1), which comunicates with a sqlserver database engine. every was good (the inserts,update and removes worked fine) until i decide include in the grid (and the webservice) a field of date type. I am sure that my problem is that i can't determine the format of the date to use in mi Ext Js code.
alex_aam
16 Nov 2007, 2:28 PM
The web service is returning the date in UTC format. so i ask
alex_aam
16 Nov 2007, 3:37 PM
Sorry, i was wrong, the date returned from the webservice is in W3CDTF format (with timezone), any one knows if Ext JS has support to this date format ?
alex_aam
16 Nov 2007, 5:35 PM
alex_aam
17 Nov 2007, 10:06 AM
i find some info in http://www.w3.org/TR/NOTE-datetime there are the the sintax to format the defined for the W3C (ISO 8601) so the correct format to use in the Ext JS record object definition should be: YYYY-MM-DDThh:mm:ss.sTZD but this don
alex_aam
17 Nov 2007, 6:19 PM
now i finded the answer to this question in http://extjs.com/forum/showthread.php?t=14137&highlight=date+iso8601
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.