From 5c00b5a345aa51075b0068d10e65b3b75856accd Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Mon, 16 Jul 2018 17:32:35 +1000 Subject: [PATCH] try string format for datetime --- booking.reports.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/booking.reports.inc b/booking.reports.inc index 2449770..c089df0 100644 --- a/booking.reports.inc +++ b/booking.reports.inc @@ -776,10 +776,11 @@ function booking_csv_report() { // Apply data formatting as per https://github.com/mk-j/PHP_XLSXWriter if (in_array($key, $datetime_fields)) { // 11/09/2015 22:05 - $header_array[$key] = 'DD/MM/YYYY HH:MM'; + //$header_array[$key] = 'DD/MM/YYYY HH:MM'; + $header_array[$key] = 'string'; } elseif (in_array($key, $date_fields)) { - $header_array[$key] = 'DD/MM/YYYY'; + $header_array[$key] = 'string'; } elseif (in_array($key, $number_only_fields)) { $header_array[$key] = 'integer';