Skip to content

Commit

Permalink
Fix date format in FEC export
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 13, 2020
1 parent 61d60ce commit 9ceec67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/accountancy/class/accountancyexport.class.php
Expand Up @@ -704,9 +704,9 @@ public function exportFEC($objectLines)
print $end_line;

foreach ($objectLines as $line) {
$date_creation = dol_print_date($line->date_creation, '%d%m%Y');
$date_doc = dol_print_date($line->doc_date, '%d%m%Y');
$date_valid = dol_print_date($line->date_validated, '%d%m%Y');
$date_creation = dol_print_date($line->date_creation, '%Y%m%d');
$date_doc = dol_print_date($line->doc_date, '%Y%m%d');
$date_valid = dol_print_date($line->date_validated, '%Y%m%d');

// FEC:JournalCode
print $line->code_journal.$separator;
Expand Down

0 comments on commit 9ceec67

Please sign in to comment.