Coupon expiry date tooltip to help understand behaviour

Help understand if the date is included or excluded
This commit is contained in:
Nico Mollet 2019-10-02 11:48:15 +02:00 committed by GitHub
parent 7bb1a0babd
commit 5bcc35c24e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ class WC_Meta_Box_Coupon_Data {
'value' => esc_attr( $expiry_date ),
'label' => __( 'Coupon expiry date', 'woocommerce' ),
'placeholder' => 'YYYY-MM-DD',
'description' => '',
'description' => __( 'The coupon will expire at 00:00:00 of this date.', 'woocommerce' ),
'desc_tip' => true,
'class' => 'date-picker',
'custom_attributes' => array(
'pattern' => apply_filters( 'woocommerce_date_input_html_pattern', '[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])' ),