Mercurial > lada > lada-client
annotate app/view/widgets/Datetime.js @ 304:8475a625a773
Use ts2date function from lib.Helpers. Remove old code
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 09 Aug 2013 15:24:00 +0200 |
parents | 52f66a913e1b |
children | 5fbcbf330839 |
rev | line source |
---|---|
31
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 // Combobox for Time and Dates |
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 Ext.define('Lada.view.widgets.Datetime' ,{ |
275
52f66a913e1b
define lada specific datetimefield and set dateformat to german format.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
31
diff
changeset
|
3 extend: 'Ext.ux.form.DateTimeField', |
31
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 alias: 'widget.datetime', |
275
52f66a913e1b
define lada specific datetimefield and set dateformat to german format.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
31
diff
changeset
|
5 format: 'd.m.Y', |
31
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 emptyText:'Wählen Sie einen Zeitpunkt', |
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 initComponent: function() { |
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 this.callParent(arguments); |
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 } |
897e3100c6da
Changed logic of the Probenauswahl. Now logic works like the BFS version.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 }); |