Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3201

How to change date format to : 2016-11-16T21:29:34 in exported orders XML file?

$
0
0

Hi there,

I installed a plugin in WooCommerce to export my orders in XML format so my clients system will be able to read the orders. That’s fine so far!

The only problem I have is the date format in the exported report. It seems to be a WordPress problem.
I need my date to look like: 2016-11-16T21:29:34 (with the T in the middle)

I went to the Settings in WP Dashboard and selected custom format and choose “C”. It appears exactly how I need it to be. I thought I found the trick!
When I place an order, the time appears like: 2016-11-16T21:29:34.

But when I export the orders report, then it shows like: 2016-11-16 21:29:34 (without the T)

Is there something I can change to make it look like I want?

Thanks for your help,

Justine


Viewing all articles
Browse latest Browse all 3201

Trending Articles