• Resolved Astrix

    (@astrix)


    Hello,

    I have an issue with Woocommerce date format in one very precise place.

    It is the order created date showing up in each order’s page.
    The format is Y-M-D while everything is set in WordPress settings to be D-M-Y.

    I’m not a developper, but I managed to link new orders to a Google Sheet table using code found online, using a webhook.

    Order date is shown as is : 2020-12-04T18:17:44 (so Y-M-D)

    I would like Woocommerce to respect the date format (for orders) I have set in WordPress settings, is it possible ?

    It is quite a big issue for our french shop because the date is inverted, which is misleading…

    Thank you

    • This topic was modified 5 years, 5 months ago by Astrix.
    • This topic was modified 5 years, 5 months ago by Astrix.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support EastOfWest a11n

    (@eastofwest)

    Hi there!

    You’re right; on the order’s page the date will show as Y-m-d as it’s currently hardcoded without a filter to change it.

    An enhancement request has been opened on Github for a further look, and you can follow it’s progress there.

    In the meantime, you’ll also notice from the code that that date is fetched from the order’s $post->post_date value. Retrieving that data and formatting it yourself, could be a workaround.

    AJ a11n

    (@amandasjackson)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Hi there!

    I confirm, it’s a problem not to have the WordPress settings format in this field.

    @amandasjackson Can you boost a WooCommerce core developer for this to be solved?

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘“Order created date” not respecting WordPress format’ is closed to new replies.