From bddaa804ab0eb4e7b07af3ad7e8719e9781b8056 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Thu, 6 Jun 2019 12:02:21 +0200 Subject: [PATCH] ldap cache display --- src/Template/Configurations/view.ctp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Template/Configurations/view.ctp b/src/Template/Configurations/view.ctp index d4d39ec..10c507c 100644 --- a/src/Template/Configurations/view.ctp +++ b/src/Template/Configurations/view.ctp @@ -161,7 +161,8 @@ function echoSection($title, $section) { $date_cached = substr($date_cached,0,6)."20".substr($year,1,2).substr($date_cached,8); // '05/06/19 15:36'; } $date_cached = \DateTime::createFromFormat('d/m/Y H:i',$date_cached); - $ldap_cache_elapsed_time = $date_now->diff($date_cached)->format('%i mn %s sec'); + //$ldap_cache_elapsed_time = $date_now->diff($date_cached)->format('%i mn %s sec'); + $ldap_cache_elapsed_time = $date_now->diff($date_cached)->format('%hh %imn %ssec'); } $displayElement(__('Optimisation accès LDAP (utilisation cache en BD)'), h($configurationObj->ldap_cached)?"Oui":"Non" ); $displayElement(__('Date dernière mise à jour cache LDAP'), h($configurationObj->ldap_cache_last_update)); -- libgit2 0.21.2