The problem that you are experiencing seems to be the same as my current one.
When I save a field with the DateField/DatePicker, the ajax post has a mostly correct date:
When I replace the "+"s with " "'s, and use php's strtotime function on it and then use the date function, like so:
I get a date that is one day behind:
However, if I remove the timezone info and use this date:
I believe that this is happening because my PHP timezone is different than my browser's, and when strtotime parses a different timezone timestamp, it shifts the parsed value to it's own timezone, making it incorrect if someone really really just wanted the 22nd of May.
$date = "Thu+May+22+2008+00:00:00"
echo date('Y-m-d',strtotime(str_replace('+',' ',$date))); # Prints "2008-05-22"
The problem may not lay within extjs, but in the difference of configured timezones from your browser to your backend. It would be nice if ext let us specify our own date output like it does our input.
I put in an ugly hack like so:
$date = reset(explode('00:00:00',$date)); # Because I don't care about hours or seconds, just days. (extjs hack also)
$time = strtotime($date);