Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello Chris,
    This is definitely possible. Note that the plugin follows the WordPress Date Format setting, which can be found at Settings > General.

    That said, you can replace

    <span class="order-date"><?php $wpo_wcpdf->order_date(); ?></span><br />

    in invoice.php & packing-slip.php by

    <span class="order-date"><?php date_i18n( 'd.m.Y', strtotime( $wpo_wcpdf->export->order->order_date ) ); ?></span><br />

    which will use your desired date format ??

    I’d appreciate it if you leave a review here!

    Plugin Contributor Ewout

    (@pomegranate)

    Hi Chris, did this solve your issue?

    Thread Starter friiiick

    (@friiiick)

    Hi Ewout

    Sorry for the late reply.

    Yes this solves my problem.

    Thanks
    Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Date Format’ is closed to new replies.