Skip to content
Snippets Groups Projects
Commit 26cced16 authored by pbarroca's avatar pbarroca
Browse files

OAI: Mise au format d'une date

parent 83360e2a
Branches
Tags
No related merge requests found
......@@ -88,7 +88,7 @@ class OaiController extends Zend_Controller_Action {
$this->view->repositoryName = $_SERVER['SERVER_NAME'] . ' Oai repository';
$this->view->baseUrl = $baseUrl;
$this->view->earliestDatestamp = ($notice = Class_Notice::getLoader()->getEarliestNotice()) ?
$notice->getDateMaj() : '';
substr($notice->getDateMaj(), 0, 10) : '';
$this->view->adminEmail = Class_CosmoVar::get('mail_admin');
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment