[Lada-commits] [PATCH 14 of 16] define lada specific datetimefield and set dateformat to german format

Wald Commits scm-commit at wald.intevation.org
Wed Aug 7 12:05:41 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1375869751 -7200
# Node ID 52f66a913e1b7c5818b6aed7eecdf6a1e9d65a7e
# Parent  9ea7fb996f4f2bcc2610cb9695b0124ac6428e50
define lada specific datetimefield and set dateformat to german format.

diff -r 9ea7fb996f4f -r 52f66a913e1b app/view/widgets/Datetime.js
--- 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);


More information about the Lada-commits mailing list