fix formatting

This commit is contained in:
Bilal Catic
2018-11-02 11:21:19 +01:00
parent a059f4b83d
commit 2a3f2f8245
2 changed files with 1 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
<p class="form-field form-field-wide">
<label for="estimated-delivery-date">Estimated delivery date:</label>
<input id="estimated-delivery-date" name="estimated-delivery-date"
type="date" value="<?php echo $formated_global_estimated_delivery_date ?>"
type="date" value="<?php echo $global_estimated_delivery_date ? date("Y-m-d", $global_estimated_delivery_date) : ""; ?>"
onChange="onGlobalEstimatedDeliveryDateChange(this.value)"/>
</p>