Skip to content
Snippets Groups Projects
Commit 7f6cdc22 authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'feature/ISTWCMS-5902-kpaxman-fix_csv_dates' into '1.1.x'

ISTWCMS-5902: make dates Y-m-d instead of Y-d-m

See merge request !287
parents 7f7b4181 bc560bf0
No related branches found
No related tags found
3 merge requests!287ISTWCMS-5902: make dates Y-m-d instead of Y-d-m,!274Draft: ISTWCMS-5551: fixing office hours display,!260Feature/istwcms 5668 a5kulkar rename references to publications
......@@ -138,8 +138,8 @@ class UwDownloadCsvController extends ControllerBase {
'type' => $node->type->entity->label(),
'path' => $this->pathAlias->getAliasByPath('/node/' . $node->id()),
'published' => $node->status->value == 1 ? 'yes' : 'no',
'created' => date('Y-d-m G:i', $node->getCreatedTime()),
'updated' => date('Y-d-m G:i', $node->getChangedTime()),
'created' => date('Y-m-d G:i', $node->getCreatedTime()),
'updated' => date('Y-m-d G:i', $node->getChangedTime()),
];
// Store the node info for use later in the CSV.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment