Date format

me merovingio 26 Aug, 2013
Hi Bob,

I created a form and I set the date in the Italian format (d-m-Y). It works fine but when I receive the confirmation email the format is (Y-m-d). What can I do?

Thank you a lot,

Pietro
Gr GreyHead 01 Sep, 2013
Hi Pietro,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.

Bob
Gr GreyHead 09 Oct, 2013
Hi Ozz,

You are using the old MonkeyPhysics datepicker which has separate formatting for display and submission. Unless your site is on Joomla! 1.5 I strongly recommend that you switch to the MooTools DatePicker which uses the same format for both.

Bob
me merovingio 09 Oct, 2013
Hi,

I tried to switch to MooTools but now I get d-m-Y without any number but just the letters d-m-Y๐Ÿ˜Ÿ In the administration panel I wrote
days: ['D', 'L', 'M', 'M', 'G', 'V', 'S'], format: 'd-m-Y'

Any idea?

PC

If I switch to the default MonkeyPhysics I still have different results between submission and display
Gr GreyHead 09 Oct, 2013
Hi Ozz,

The format strings are different. Please try format: '%d-%m-%Y'

Bob
me merovingio 09 Oct, 2013
Hi Bob,

it works๐Ÿ˜€

Thank you very much,

PC
This topic is locked and no more replies can be posted.