]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: bucket modification time to local time
authoralfonsomthd <almartin@redhat.com>
Thu, 18 Apr 2019 06:44:36 +0000 (08:44 +0200)
committeralfonsomthd <almartin@redhat.com>
Thu, 18 Apr 2019 06:44:36 +0000 (08:44 +0200)
* 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>
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