Mercurial > lada > lada-client
diff app/model/Probe.js @ 115:fe4a1ee15418
Added conversion of datefield.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 20 Jun 2013 12:34:26 +0200 |
parents | e9643b7c103c |
children | 1907f405eb93 |
line wrap: on
line diff
--- a/app/model/Probe.js Thu Jun 20 12:34:09 2013 +0200 +++ b/app/model/Probe.js Thu Jun 20 12:34:26 2013 +0200 @@ -11,7 +11,7 @@ {name: "nebenprobenNr"}, {name: "bezeichnung"}, {name: "kreis"}, - {name: "letzteAenderung"}, + {name: "letzteAenderung", type: 'date', convert: ts2date, defaultValue: new Date()}, {name: "media"}, {name: "mediaDesk"}, {name: "mittelungsdauer"},