]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: bucket modification time to local time 27826/head
authoralfonsomthd <almartin@redhat.com>
Thu, 18 Apr 2019 06:44:36 +0000 (08:44 +0200)
committerAshish Singh <assingh@redhat.com>
Wed, 15 May 2019 13:53:29 +0000 (19:23 +0530)
* 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 <almartin@redhat.com>
(cherry picked from commit 30576b47dea4d7fad1e815a9dc2e5c47fd0b3942)

src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html

index f1ef63cb2af956010e84bec68ae43a192cda29b8..d6d2068a575d1e4e74f7e5c168013d915615dfc4 100644 (file)
@@ -51,7 +51,7 @@
           <tr>
             <td i18n
                 class="bold col-sm-1">Modification time</td>
-            <td>{{ bucket.mtime }}</td>
+            <td>{{ bucket.mtime | cdDate }}</td>
           </tr>
           <tr>
             <td i18n