creativedotdesign / tofino

WordPress boilerplate theme on a modern stack. NPM and Composer.
Other
29 stars 6 forks source link

AjaxForm - Date/Time doesn't match Wordpress Time Zone #271

Closed iwriteplays closed 5 years ago

iwriteplays commented 5 years ago

Line 208 of src/lib/AjaxForm.php uses Unix time instead of the native Wordpress time zone. This results in the contact form sending an email with a timestamp that looks wrong.

Changing the line to the following fixes this issue: $value = current_time('d-M-Y H:i:s');

danimalweb commented 5 years ago

Fixed in Merged PR on Dev Branch.

danimalweb commented 5 years ago

This is fixed in the v2.0.0 release.