abldr
Although I don’t recommend modifying the code as it will need to be modified each time you install an upgrade, here is the code change to implement your request for version 20 of Machform.
In file export_entries.php on line 1046
Change from:
}elseif($column_type_lookup[$column_name] == 'date'){ //date with format MM/DD/YYYY
if(!empty($row[$column_name]) && ($row[$column_name] != '0000-00-00')){
$form_data[$i][$j] = date('M d, Y',strtotime($row[$column_name]));
}
Change to:
}elseif($column_type_lookup[$column_name] == 'date'){ //date with format MM/DD/YYYY
if(!empty($row[$column_name]) && ($row[$column_name] != '0000-00-00')){
$form_data[$i][$j] = date('d/m/Y',strtotime($row[$column_name]));
}
Before the change the date was exported as “Apr 03, 2024”. After the change the date was exported as “03/04/2024”.
This works for columns of type date only.