print time in 24h format
This commit is contained in:
parent
2e85d5a852
commit
7f7999c7d8
|
@ -41,7 +41,7 @@ class LastSeen extends Command {
|
||||||
$date = new \DateTime();
|
$date = new \DateTime();
|
||||||
$date->setTimestamp($lastLogin);
|
$date->setTimestamp($lastLogin);
|
||||||
$output->writeln($user->getUID() .
|
$output->writeln($user->getUID() .
|
||||||
'`s last login: ' . $date->format('d.m.Y h:i'));
|
'`s last login: ' . $date->format('d.m.Y H:i'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue