Mercurial > lada > lada-client
diff app/view/widgets/Datetime.js @ 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 | 897e3100c6da |
children | 5fbcbf330839 |
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);