From: alfonsomthd Date: Thu, 18 Apr 2019 06:44:36 +0000 (+0200) Subject: mgr/dashboard: bucket modification time to local time X-Git-Tag: v14.2.2~143^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F27826%2Fhead;p=ceph.git mgr/dashboard: bucket modification time to local time * After PR https://github.com/ceph/ceph/pull/27617 bucket modification time is UTC, so date pipe is applied in order to show it as local time. Fixes: https://tracker.ceph.com/issues/39295 Signed-off-by: Alfonso Martínez (cherry picked from commit 30576b47dea4d7fad1e815a9dc2e5c47fd0b3942) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html index f1ef63cb2af9..d6d2068a575d 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html @@ -51,7 +51,7 @@ Modification time - {{ bucket.mtime }} + {{ bucket.mtime | cdDate }}