• Resolved azalbert

    (@azalbert)


    Hi,

    change made for expiry date happens one day earlier, broke date expiry in other language than english.
    In file class-woocommerce-gift-cards-common-function.php in woo-gift-cards-lite/includes/ if language is in french, at line 126 this code `$args[‘expirydate’] = gmdate( $selected_date, strtotime( ‘-1 day’, strtotime( $args[‘expirydate’] ) ) );
    `
    returns today date. strtotime only accept date in english format and received a french format.

    You should change that.

Viewing 1 replies (of 1 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hello,

    As per your mentioned query please connect with our support team so that they can check your issue and help you out.

    Regards,

Viewing 1 replies (of 1 total)
  • The topic ‘Bug with expiry date’ is closed to new replies.