Skip to content

Commit

Permalink
Corrige data dos arquivos no endpoint da licc
Browse files Browse the repository at this point in the history
  • Loading branch information
erleibiazzio committed Apr 17, 2024
1 parent 63a5c2a commit 4155ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/SettingsES/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function POST_generateLiccSummary()
if($files = $conn->fetchAll("SELECT * FROM file f WHERE f.object_type = 'MapasCulturais\Entities\Registration' AND f.object_id = '{$_number}' ORDER BY f.create_timestamp ASC")) {
foreach ($files as $file) {
$results[$number]['files'][] = [
'data' => (new DateTime($revision['create_timestamp']))->format("d/m/Y H:i:s"),
'data' => (new DateTime($file['create_timestamp']))->format("d/m/Y H:i:s"),
'name' => $file['name'],
];
}
Expand Down

0 comments on commit 4155ba6

Please sign in to comment.