[Lada-commits] [PATCH 4 of 7] Datum Spalte zu einer Datumsspalte gemacht

Wald Commits scm-commit at wald.intevation.org
Mon Mar 16 12:26:54 CET 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1426505896 -3600
# Node ID 13e5473d1af5e3311ecfb4cfed29d45d86cad937
# Parent  f59bda7551d78b15818f05e17fe49d53e80c7a41
Datum Spalte zu einer Datumsspalte gemacht

diff -r f59bda7551d7 -r 13e5473d1af5 app/view/grid/MKommentar.js
--- a/app/view/grid/MKommentar.js	Mon Mar 16 11:40:15 2015 +0100
+++ b/app/view/grid/MKommentar.js	Mon Mar 16 12:38:16 2015 +0100
@@ -61,11 +61,13 @@
         }, {
             header: 'Datum',
             dataIndex: 'datum',
+            xtype: 'datecolumn',
+            format: 'd.m.Y H:i',
             editor: {
                 xtype: 'datefield',
                 allowBlank: false,
-                format: 'd.m.Y',
-                maxValue: Ext.Date.format(new Date(), 'd.m.Y')
+                format: 'd.m.Y H:i',
+                maxValue: Ext.Date.format(new Date(), 'd.m.Y H:i')
             }
         }, {
             header: 'Text',


More information about the Lada-commits mailing list