changeset 1105:953b359748bb

change time range format in GenProbenFromMessprogramm
author Michael Stanko <mstanko@bfs.de>
date Wed, 11 May 2016 08:59:25 +0200
parents 414f7c9908d6
children ecce10cf32dc
files app/view/window/GenProbenFromMessprogramm.js
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js	Wed May 11 08:57:40 2016 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Wed May 11 08:59:25 2016 +0200
@@ -50,8 +50,8 @@
             handler: function() {
                 var jsondata = {
                     id: me.record.id,
-                    start: new Date(me.down('datetime [name=start]').getValue()).valueOf(),
-                    end: new Date(me.down('datetime [name=end]').getValue()).valueOf()
+                    start: new Date(me.down('datefield [name=start]').getValue()).valueOf(),
+                    end: new Date(me.down('datefield [name=end]').getValue()).valueOf()
                 };
 
 
@@ -153,22 +153,22 @@
                 layout: 'fit',
                 html: '<p>' + i18n.getMsg('messprogtimeperiod') + '</p>'
             }, {
-                xtype: 'datetime',
+                xtype: 'datefield',
                 fieldLabel: i18n.getMsg('from'),
                 labelWidth: 90,
                 margin: 5,
-                width: 300,
+                width: 200,
                 name: 'start',
-                format: 'd.m.Y H:i',
+                format: 'd.m.Y',
                 period: 'start'
             }, {
-                xtype: 'datetime',
+                xtype: 'datefield',
                 fieldLabel: i18n.getMsg('to'),
                 labelWidth: 90,
                 margin: 5,
-                width: 300,
+                width: 200,
                 name: 'end',
-                format: 'd.m.Y H:i',
+                format: 'd.m.Y',
                 period: 'end'
             }]
         }];

http://lada.wald.intevation.org