TycheSoftwares / order-delivery-date-for-woocommerce

WooCommerce Delivery Date Lite
8 stars 5 forks source link

The wrong delivery date is displayed in the delivery date on the checkout page. #459

Open apeksha10 opened 2 years ago

apeksha10 commented 2 years ago

Describe the bug The wrong delivery date is displayed in the delivery date on the checkout page.

To Reproduce Steps to reproduce the behavior:

  1. MDT set as 16 hours
  2. All weekdays are enabled except Saturday. https://www.screencast.com/t/nWSYLNUcQpP
  3. Visit the site on the 5th of May and try to fully book Friday which is the 6th of May.
  4. Auto-populate setting enabled
  5. Go to the checkout page, the first available delivery date is shown as 7th May which is wrong. https://www.screencast.com/t/1VP6METIN

setting video: https://www.screencast.com/t/edxTIStA59y

Expected behavior The delivery date calendar should show the correct delivery date.