2

Module: Webform

The short date type is dd/mm/yy, so it appears correctly in the form (day/month/year) But in the mail it is shown with month first. (month/day/year)

How can I change the date type in the mail?

3
  • Can you please post the Date field settings for your web form. Commented Aug 14, 2014 at 11:30
  • Hi Krishna Where do I find the Date Field setting?
    – Anette
    Commented Aug 14, 2014 at 13:05
  • I use the module webform. When I make the Date component I can choose type: date. That will make the date in the webform. You can se it here: domusmedica.dk/Kontakt_form. I can not figure out how/where to change the output and the date in the mail
    – Anette
    Commented Aug 14, 2014 at 13:17

1 Answer 1

1

Try go to admin/config/regional/date-time and set your site's Medium date type format.

Also, if the Medium format doesn't include at least a month, day, and year field, Webform will default to the American format of MM/DD/YYYY.

Webform uses the "medium" in e-mails and viewing submissions, though everywhere else (like a displaying the date component) it uses short for the order

1
  • Thanks for the comment, Verify the answer so that others may also know. Commented Aug 16, 2014 at 4:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.