Browse Source

add table column date format

Yuan Liu 7 years ago
parent
commit
6daf73fec0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      public/app/plugins/panel/table/column_options.ts

+ 1 - 0
public/app/plugins/panel/table/column_options.ts

@@ -41,6 +41,7 @@ export class ColumnOptionsCtrl {
       { 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' },
+      { text: 'YYYY-MM-DD', value: 'YYYY-MM-DD' },
     ];
     this.mappingTypes = [{ text: 'Value to text', value: 1 }, { text: 'Range to text', value: 2 }];