aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/User
diff options
context:
space:
mode:
authorJore <contact@jore.cc>2024-04-05 10:47:26 +1100
committerskjnldsv <skjnldsv@protonmail.com>2024-08-07 09:33:09 +0200
commitbd81967fa18a557725a1dd2a5d644421ce976cb7 (patch)
treeceee6dd37157ce49c29f45e31e2305cff5b0f891 /core/Command/User
parent3e69668c9e23b7ca0dc299ff8898037541f91065 (diff)
downloadnextcloud-server-bd81967fa18a557725a1dd2a5d644421ce976cb7.tar.gz
nextcloud-server-bd81967fa18a557725a1dd2a5d644421ce976cb7.zip
occ: Improve timestamps for user:info.
Signed-off-by: Jore <contact@jore.cc>
Diffstat (limited to 'core/Command/User')
-rw-r--r--core/Command/User/Info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/User/Info.php b/core/Command/User/Info.php
index 55298f0164c..f51c1365ff4 100644
--- a/core/Command/User/Info.php
+++ b/core/Command/User/Info.php
@@ -56,7 +56,7 @@ class Info extends Base {
'groups' => $groups,
'quota' => $user->getQuota(),
'storage' => $this->getStorageInfo($user),
- 'last_seen' => date(\DateTimeInterface::ATOM, $user->getLastLogin()), // ISO-8601
+ 'last_seen' => date('Y-m-d H:i:s T', $user->getLastLogin()),
'user_directory' => $user->getHome(),
'backend' => $user->getBackendClassName()
];