From f8719efb67c138a4aa6c948b2c0fc1774e5bb6b0 Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Thu, 5 Oct 2017 13:33:44 +0900 Subject: [PATCH] Add milliseconds format in table panel's config This changes introduce milliseconds format option in table panel config GUI. Current grafana support milliseconds in time and actually used at graph panel, however current table does not provide the way to show milliseconds. This fix is to add format in table panel to show milliseconds in table as well as graph. --- public/app/plugins/panel/table/column_options.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/plugins/panel/table/column_options.ts b/public/app/plugins/panel/table/column_options.ts index 2191de2bb8d..c95382804c3 100644 --- a/public/app/plugins/panel/table/column_options.ts +++ b/public/app/plugins/panel/table/column_options.ts @@ -40,6 +40,7 @@ export class ColumnOptionsCtrl { this.fontSizes = ['80%', '90%', '100%', '110%', '120%', '130%', '150%', '160%', '180%', '200%', '220%', '250%']; this.dateFormats = [ {text: 'YYYY-MM-DD HH:mm:ss', value: 'YYYY-MM-DD HH:mm:ss'}, + {text: 'YYYY-MM-DD HH:mm:ss.SSS', value: 'YYYY-MM-DD HH:mm:ss.SSS'}, {text: 'MM/DD/YY h:mm:ss a', value: 'MM/DD/YY h:mm:ss a'}, {text: 'MMMM D, YYYY LT', value: 'MMMM D, YYYY LT'}, ];