cfu
27 Jul 2009, 2:21 PM
Hey,
I seem to be having some inconsistancy with a datefield that I have in a form.
Ive set the format to
Y-m-d H:i:S and when selecting a date from the datepicker it is showing in the correct format in the inpuit box, eg 2009-07-28 00:00:00. I'm using a modified version of the example here http://extjs.com/deploy/dev/examples/writer/writer.html to post the data to a php script to then save it.
The problem I'm having is that the value that is being posted to the server includes a T value between the date and time component eg 2009-07-28T00:00:00
Im not sure if this is standard behaviour or not ?
Any thoughts would be appreicated.
I seem to be having some inconsistancy with a datefield that I have in a form.
Ive set the format to
Y-m-d H:i:S and when selecting a date from the datepicker it is showing in the correct format in the inpuit box, eg 2009-07-28 00:00:00. I'm using a modified version of the example here http://extjs.com/deploy/dev/examples/writer/writer.html to post the data to a php script to then save it.
The problem I'm having is that the value that is being posted to the server includes a T value between the date and time component eg 2009-07-28T00:00:00
Im not sure if this is standard behaviour or not ?
Any thoughts would be appreicated.