Commit bddaa804ab0eb4e7b07af3ad7e8719e9781b8056
1 parent
1d91000a
Exists in
master
and in
2 other branches
ldap cache display
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/Template/Configurations/view.ctp
@@ -161,7 +161,8 @@ function echoSection($title, $section) { | @@ -161,7 +161,8 @@ function echoSection($title, $section) { | ||
161 | $date_cached = substr($date_cached,0,6)."20".substr($year,1,2).substr($date_cached,8); // '05/06/19 15:36'; | 161 | $date_cached = substr($date_cached,0,6)."20".substr($year,1,2).substr($date_cached,8); // '05/06/19 15:36'; |
162 | } | 162 | } |
163 | $date_cached = \DateTime::createFromFormat('d/m/Y H:i',$date_cached); | 163 | $date_cached = \DateTime::createFromFormat('d/m/Y H:i',$date_cached); |
164 | - $ldap_cache_elapsed_time = $date_now->diff($date_cached)->format('%i mn %s sec'); | 164 | + //$ldap_cache_elapsed_time = $date_now->diff($date_cached)->format('%i mn %s sec'); |
165 | + $ldap_cache_elapsed_time = $date_now->diff($date_cached)->format('%hh %imn %ssec'); | ||
165 | } | 166 | } |
166 | $displayElement(__('Optimisation accès LDAP (utilisation cache en BD)'), h($configurationObj->ldap_cached)?"Oui":"Non" ); | 167 | $displayElement(__('Optimisation accès LDAP (utilisation cache en BD)'), h($configurationObj->ldap_cached)?"Oui":"Non" ); |
167 | $displayElement(__('Date dernière mise à jour cache LDAP'), h($configurationObj->ldap_cache_last_update)); | 168 | $displayElement(__('Date dernière mise à jour cache LDAP'), h($configurationObj->ldap_cache_last_update)); |