ryancramerdesign/P21 — Issue #74: Datepicker returns different date format to field
Author: adamkiss
Created: 2012-02-05 14:30:44+00:00
State: open

I believe we've talked about this, I even see the code to set DatePicker's codeFormat to config.date.default, but it's set to be the `yy-mm-dd`.

Why is this commented out? This leads to problems (other than only visual difference from what is set in PW), mainly when dealing with `european<->american` date translation => If I use `d.m.Y` and DatePicker returns `yy-mm-dd`, there is day switched with month.

Example:
* I select `Nov 5th 2012` in datepicker
* `2012-11-05` shows in input
* `May 11th 2012` is returned upon saving and loading

This is not good, especially not now, when we support different languages in the administration.