]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: KV-table transforms dates through pipe 27612/head
authorStephan Müller <smueller@suse.com>
Tue, 16 Apr 2019 13:48:12 +0000 (15:48 +0200)
committerStephan Müller <smueller@suse.com>
Tue, 16 Apr 2019 13:52:41 +0000 (15:52 +0200)
commit3a2732ab6489e8c84d53911f32607e29e9c5eac7
tree760b693e4b0555808888e90496b3f0f45d5ca260
parent17c59e3d8bc8101c2afb6bae37036571d15fd54d
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>
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