Browse Source

Problème affichage date de dernière connexion

master
keun 7 years ago
parent
commit
f2ed317a57
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      backend/views/user/index.php
  2. +1
    -1
      common/models/LoginForm.php

+ 1
- 1
backend/views/user/index.php View File

'label' => 'Dernière connexion', 'label' => 'Dernière connexion',
'value' => function($model) { 'value' => function($model) {
if(isset($model['date_derniere_connexion'])) if(isset($model['date_derniere_connexion']))
return date('m/d/Y à H:i', strtotime($model['date_derniere_connexion']));
return date('d/m/Y à H:i', strtotime($model['date_derniere_connexion']));
else else
return '' ; return '' ;
} }

+ 1
- 1
common/models/LoginForm.php View File

'username' => 'Identifiant', 'username' => 'Identifiant',
'password' => 'Mot de passe', 'password' => 'Mot de passe',
'rememberMe' => 'Se souvenir de moi', 'rememberMe' => 'Se souvenir de moi',
'email' => 'Email',
'email' => 'Email',
]; ];
} }

Loading…
Cancel
Save