aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/Command/User/LastSeen.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/User/LastSeen.php b/core/Command/User/LastSeen.php
index 3c2ec828d41..066377f4cf8 100644
--- a/core/Command/User/LastSeen.php
+++ b/core/Command/User/LastSeen.php
@@ -56,7 +56,7 @@ class LastSeen extends Base {
} else {
$date = new \DateTime();
$date->setTimestamp($lastLogin);
- $output->writeln($user->getUID() . "'s last login: " . $date->format('Y-m-d H:i'));
+ $output->writeln($user->getUID() . "'s last login: " . $date->format('Y-m-d H:i:s T'));
}
return 0;
@@ -74,7 +74,7 @@ class LastSeen extends Base {
} else {
$date = new \DateTime();
$date->setTimestamp($lastLogin);
- $output->writeln($user->getUID() . "'s last login: " . $date->format('Y-m-d H:i'));
+ $output->writeln($user->getUID() . "'s last login: " . $date->format('Y-m-d H:i:s T'));
}
});
return 0;