• Resolved Jeffsbesthemp

    (@jeffsbesthemp)


    Hello,

    The date on the coupon generation page is coming up wrong and out of sync from the rest of the site. I have it set to Month, number of day, year as a 4 digit number like this: January 31st, 2024, but it’s showing up backward in coupon generation section as yyyy-mm-dd. How do I fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @jeffsbesthemp,

    This seems like expected behavior. Even with a different WP date format setting, the coupon expiry date field follows the universal YYYY-MM-DD format.

    While I checked the class-wc-coupon-data-store-cpt.php file, I noticed the date format was hardcoded.

    Since there’s no built-in option for changing the format, you could use custom code to modify it. I would recommend consulting with an expert developer for assistance with custom coding.

    I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight/information.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘DATE SHOWS UP WRONG ON COUPON CREATION SECTION’ is closed to new replies.