From 5b3af870e59cbc35739af410b8a93552798594be Mon Sep 17 00:00:00 2001 From: alfonsomthd Date: Thu, 18 Apr 2019 08:44:36 +0200 Subject: [PATCH] mgr/dashboard: bucket modification time to local time MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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) --- .../rgw/rgw-bucket-details/rgw-bucket-details.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 f1ef63cb2af..d6d2068a575 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 }}