tlovett1 / custom-contact-forms

Build beautiful custom forms and manage submissions the WordPress way.
https://taylorlovett.com
161 stars 50 forks source link

Timezone for email notifications #336

Open dB-SPL opened 6 years ago

dB-SPL commented 6 years ago

Is there a way to have the [current_date_time] variable in email notifications display using the local timezone instead of the UTC from the server?

I'm sending a confirmation email to my users after they submit a form, but from their point of view the time is five hours in the future. I've structured my message to display "January 4, 2018, 7:44 pm UTC" but most of my users don't have any idea what that is, and I get comments like "the time is wrong on your website" so often, that it would be great to just be able to show the time and date in US EST to satisfy them.