TycheSoftwares / order-delivery-date-for-woocommerce

WooCommerce Delivery Date Lite
8 stars 5 forks source link

Wrong delivery dates are being set when creating orders from the admin backend in WooCommerce > Orders #415

Closed oluisrael11 closed 2 years ago

oluisrael11 commented 3 years ago

Describe the bug When a new order is being created from the admin site (WP-Admin > Woocommerce > Orders > Add Order) and manually setting the delivery date to any delivery date of choice. I find the actual date that gets stored is 01/01/1970, or sometimes the delivery date just gets set wrongly (month and date format transposed in some cases). You'd to go back into the Order, clear the date, and re-set it to the initial delivery date set for the date to be stored properly.

To Reproduce Steps to reproduce the behavior: All you have to do to reproduce this behavior is to create a new order from the admin backend (WooCommerce > Orders > Add Order), fill in all necessary info, select a date, and click on Save. Once the page reloads, you'd see the delivery date stored wrongly.

Additional context https://tychesoftwares.freshdesk.com/a/tickets/34194