]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: KV-table transforms dates through pipe 28021/head
authorStephan Müller <smueller@suse.com>
Tue, 16 Apr 2019 13:48:12 +0000 (15:48 +0200)
committerStephan Müller <smueller@suse.com>
Wed, 8 May 2019 12:58:26 +0000 (14:58 +0200)
commitf7733c9c193c76737606531acc5341f642f5405e
tree3a2d65376055e595370b91e3732b1a32596410eb
parentc843bfb984911899c6eb464e84c0d7cd9ce84768
mgr/dashboard: KV-table transforms dates through pipe

The key value table that is mostly used for showing details of objects,
will now transform any date with 'cdDatePipe'.

Through this the start and end date of an alert will be shown in local
time instead of UTC time.

Fixes: https://tracker.ceph.com/issues/39296
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit 3a2732ab6489e8c84d53911f32607e29e9c5eac7)
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.ts