From bd81967fa18a557725a1dd2a5d644421ce976cb7 Mon Sep 17 00:00:00 2001 From: Jore Date: Fri, 5 Apr 2024 10:47:26 +1100 Subject: occ: Improve timestamps for user:info. Signed-off-by: Jore --- core/Command/User/Info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Command/User') 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() ]; -- cgit v1.2.3