diff options
author | Jore <contact@jore.cc> | 2024-04-05 10:47:26 +1100 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-08-07 09:33:09 +0200 |
commit | bd81967fa18a557725a1dd2a5d644421ce976cb7 (patch) | |
tree | ceee6dd37157ce49c29f45e31e2305cff5b0f891 /core/Command/User | |
parent | 3e69668c9e23b7ca0dc299ff8898037541f91065 (diff) | |
download | nextcloud-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.php | 2 |
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() ]; |