diff app/model/Messprogramm.js @ 774:afc9076db490

Added Offset field
author Dustin Demuth <dustin@intevation.de>
date Tue, 12 May 2015 16:11:05 +0200
parents 6b0d0e62f7d7
children 4c1101f0ba99
line wrap: on
line diff
--- a/app/model/Messprogramm.js	Tue May 12 15:07:23 2015 +0200
+++ b/app/model/Messprogramm.js	Tue May 12 16:11:05 2015 +0200
@@ -59,9 +59,23 @@
     }, {
         name: 'intervallOffset'
     }, {
-        name: 'gueltigVon'
+        name: 'gueltigVon',
+        type: 'date',
+        convert: function(v) {
+            if (!v) {
+                return v;
+            }
+            return new Date(v);
+        },
     }, {
-        name: 'gueltigBis'
+        name: 'gueltigBis',
+        type: 'date',
+        convert: function(v) {
+            if (!v) {
+                return v;
+            }
+            return new Date(v);
+        },
     }, {
         name: 'probeNehmerId'
     }, {

http://lada.wald.intevation.org