diff --git a/src/Site/BlockLayout/ArchiveSiteMeta.php b/src/Site/BlockLayout/ArchiveSiteMeta.php index 15660a5..82f2e94 100644 --- a/src/Site/BlockLayout/ArchiveSiteMeta.php +++ b/src/Site/BlockLayout/ArchiveSiteMeta.php @@ -1,6 +1,7 @@ getHelperPluginManager()->get('archiveSiteMeta'); $collections = $archiveSiteHelper->getCollections(); + $date = new DateTime($block->dataValue('project_date')); return $view->partial('common/block-layout/site-meta', [ 'artist' =>$block->dataValue('currator'), - 'project_date' => $block->dataValue('project_date'), + 'project_date' => $date->format('Y'), 'collection' => $collections[$block->dataValue('collection')], 'site' => $site, 'tech_document_link' => $tech_document_link