Sfoglia il codice sorgente

Problème affichage date de dernière connexion

master
keun 7 anni fa
parent
commit
f2ed317a57
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      backend/views/user/index.php
  2. +1
    -1
      common/models/LoginForm.php

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

@@ -73,7 +73,7 @@ $this->params['breadcrumbs'][] = $this->title;
'label' => 'Dernière connexion',
'value' => function($model) {
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
return '' ;
}

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

@@ -91,7 +91,7 @@ class LoginForm extends Model
'username' => 'Identifiant',
'password' => 'Mot de passe',
'rememberMe' => 'Se souvenir de moi',
'email' => 'Email',
'email' => 'Email',
];
}

Loading…
Annulla
Salva