changeset 275:52f66a913e1b

define lada specific datetimefield and set dateformat to german format.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 07 Aug 2013 12:02:31 +0200
parents 9ea7fb996f4f
children dee3e54a61b1
files app/view/widgets/Datetime.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/widgets/Datetime.js	Wed Aug 07 12:01:45 2013 +0200
+++ b/app/view/widgets/Datetime.js	Wed Aug 07 12:02:31 2013 +0200
@@ -1,7 +1,8 @@
 // Combobox for Time and Dates
 Ext.define('Lada.view.widgets.Datetime' ,{
-        extend: 'Ext.form.Date',
+        extend: 'Ext.ux.form.DateTimeField',
         alias: 'widget.datetime',
+        format: 'd.m.Y',
         emptyText:'Wählen Sie einen Zeitpunkt',
     initComponent: function() {
         this.callParent(arguments);

http://lada.wald.intevation.org