Browse Source

format date

master
root 3 years ago
parent
commit
bb5d360c31
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      action.php

+ 2
- 1
action.php View File

@ -216,7 +216,8 @@ fputs($output, $header_encode);
if (count($data) > 0) {
foreach ($data as $row) {
$dmy=explode('-',$row['date_piece']);
$row['date_piece']=$dmy[2].'/'.$dmy[1].'/'.$dmy[0];
$line=implode(";", $row)."\r\n";
$string_encoded = iconv( mb_detect_encoding( $line ), 'Windows-1252//TRANSLIT', $line );


Loading…
Cancel
Save