date format - need non-US

User 2208850 Photo


Registered User
40 posts

Hi
I'm trying to change the date format on the emails to european format (dd/mm/yy)

I changed it in ' jquery.ui.datepicker.js' (two places) but it hasn't changed anything - where else do I need to look ?

many thanks
Dave
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 187934 Photo


Senior Advisor
20,271 posts

That format can be set inside the form builder on the elements properties tab.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2208850 Photo


Registered User
40 posts

Thanks, Eric, I don't want to use a date on the form though .. it's only in the verification emails that I receive with the form contents ??

Dave
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 187934 Photo


Senior Advisor
20,271 posts

That format should follow through from the form. Does it actually change?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2208850 Photo


Registered User
40 posts

Hi Eric
If I use the date field on a form it displays exactly as I set it, but the date at the bottom of the email (with IP address) both to me & the sender, displays in the US format (see attached file).
I assume that this is somewhere in the code but I cannot find it - I've changed a couple of files, but I'm guessing that these are what populates the date form field (jquery.ui.datepicker.js & messages_datepicker.js)

Dave
Attachments:
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 187934 Photo


Senior Advisor
20,271 posts

If you use individual form variables instead of the _form_results_ in the email notification you should only get the desired entires.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2208850 Photo


Registered User
40 posts

Other than this, I'm happy with what _form_results_ produces ..... I just thought that this would be a 'simple' change in the code somewhere. Unfortunately I'm starting to think that this cannot be easily done :(
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'
User 187934 Photo


Senior Advisor
20,271 posts

You can alter the config.cls.php.
I think it starts at Line 170 then down to 189.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2208850 Photo


Registered User
40 posts

Thanks Eric, that sorted it.
I'd checked every file (at least I thought I had !!), but hadn't seen it :)

Many thanks
Dave
'A computer lets you make more mistakes faster than any other invention with the possible exceptions of handguns and Tequila.'

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.