changeset 115:fe4a1ee15418

Added conversion of datefield.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 20 Jun 2013 12:34:26 +0200
parents 189a93e31be9
children 88922e579002
files app/model/Probe.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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"},

http://lada.wald.intevation.org