- changed status to resolved
Option to have 'minutes' in Lead time
Issue #605
resolved
There is no option in the dropdown for minutes. I tried setting it to ‘minute’ with this filter ‘woocommerce_appointments_min_date_unit’ but it is understood by the system as ‘year’.
I tried setting the value in ‘woocommerce_appointments_min_date’ to 0.25 but it acts as 25.
Requested here.
Comments (1)
-
- Log in to comment
This is due to an issue with strtotime PHP function that does not interpret minutes correctly. Customers can use the following code snippet to use minutes instead (example set to 15 minutes and for specific product IDs):