[Lada-commits] [PATCH 4 of 5] Set date format for stammdaten grids

Wald Commits scm-commit at wald.intevation.org
Fri Feb 26 09:41:49 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1456476053 -3600
# Node ID d859fbfc8a53bc424460346d2ddd4ba24440718c
# Parent  8e579acfe0b160e8361a859accdb65b1594776f0
Set date format for stammdaten grids.

diff -r 8e579acfe0b1 -r d859fbfc8a53 app/view/grid/DatensatzErzeuger.js
--- a/app/view/grid/DatensatzErzeuger.js	Thu Feb 25 10:39:17 2016 +0100
+++ b/app/view/grid/DatensatzErzeuger.js	Fri Feb 26 09:40:53 2016 +0100
@@ -120,6 +120,8 @@
             }
         }, {
             header: i18n.getMsg('letzteAenderung'),
+            xtype: 'datecolumn',
+            format: 'd.m.Y H:i',
             dataIndex: 'letzteAenderung'
         }];
         this.listeners = {
diff -r 8e579acfe0b1 -r d859fbfc8a53 app/view/grid/MessprogrammKategorie.js
--- a/app/view/grid/MessprogrammKategorie.js	Thu Feb 25 10:39:17 2016 +0100
+++ b/app/view/grid/MessprogrammKategorie.js	Fri Feb 26 09:40:53 2016 +0100
@@ -99,6 +99,8 @@
             }
         }, {
             header: i18n.getMsg('letzteAenderung'),
+            xtype: 'datecolumn',
+            format: 'd.m.Y H:i',
             dataIndex: 'letzteAenderung'
         }];
         this.listeners = {
diff -r 8e579acfe0b1 -r d859fbfc8a53 app/view/grid/Probenehmer.js
--- a/app/view/grid/Probenehmer.js	Thu Feb 25 10:39:17 2016 +0100
+++ b/app/view/grid/Probenehmer.js	Fri Feb 26 09:40:53 2016 +0100
@@ -151,6 +151,8 @@
             }
         }, {
             header: i18n.getMsg('letzteAenderung'),
+            xtype: 'datecolumn',
+            format: 'd.m.Y H:i',
             dataIndex: 'letzteAenderung'
         }];
         this.listeners = {


More information about the Lada-commits mailing list