Results 1 to 2 of 2

Thread: Datefield format inconsistancy

  1. #1
    Ext User
    Join Date
    Jul 2009
    Posts
    1

    Default Datefield format inconsistancy

    Hey,
    I seem to be having some inconsistancy with a datefield that I have in a form.
    Ive set the format to
    Code:
    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.

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    481

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •