• Resolved sarahsas

    (@sarahsas)


    Hello, I’ve added a custom date field in the checkout of a site, when the email notification is sent, it displays the date in yyyy-mm-dd format – is there any way to get it to deliver the date in mm-dd-yyyy format instead?

    • This topic was modified 8 months, 2 weeks ago by sarahsas.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Dina S.

    (@themehighsupport)

    Hi,

    Unfortunately, currently, it is impossible to change the format of the HTML date type, the date field is an HTML date type field in which the format depends upon the default date settings in the user system and the browser used.
    ?
    Further, we hope you can find a suitable solution by referring to the below link.
    ?
    https://stackoverflow.com/questions/7372038/is-there-any-way-to-change-input-type-date-format
    ?

    Thank you!

    Thread Starter sarahsas

    (@sarahsas)

    Hi @themehighsupport, thanks for your response, but I think you have misunderstood. I’m not trying to change the html in the web browser input field.

    I’m trying to change the response that is rendered in the WooCommerce order confirmation emails. So when an order is placed and I have added a field that is a date input, the email that gets sent renders the date as yyyy-mm-dd.

    I have used other plugins that add custom checkout fields and when the emails get sent, the format is also different, each plugin sends the email slightly differently, so I assume this is customizable based on the plugin settings, which is why I’m asking you?

    Can we change the format that gets delivered in the email settings from your plugin to mm-dd-yyyy?

    Plugin Support Dina S.

    (@themehighsupport)

    Hi,

    Unfortunately, it is not possible to change the date format of the Date field using our plugin.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date field in emails’ is closed to new replies.