Date format

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
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
ozer2 08 Oct, 2013
Hi Greyhead,

i get same problem (http://tour-turkey.com/contact-us)and i try to find any solution but no clean answer.

Could you explain little more that how can i fix.

Ozz
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
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
GreyHead 09 Oct, 2013
Hi Ozz,

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

Bob
merovingio 09 Oct, 2013
Hi Bob,

it works😀

Thank you very much,

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