Support » Plugin: WooCommerce qTML » Need to change the default date format depending on language

  • Resolved OG-S

    (@og-s)


    Woocommerce templates are using date_format with the function date_i18n

    <?php echo date_i18n( get_option( ‘date_format’ ), strtotime( $order->order_date ) ); ?>

    I need to change the default date format
    For english, french : j F Y
    For german : j. F Y

    Can I add something in my functions.php?

    https://wordpress.org/plugins/woocommerce-qtml/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Need to change the default date format depending on language’ is closed to new replies.