diff app/model/Messung.js @ 1398:b92aef19cff9

Do not set a default value for messzeitpunkt in messung.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 16 Mar 2017 14:44:04 +0100
parents 4270da0f7d3b
children 0026b509a746 9712170c5150
line wrap: on
line diff
--- a/app/model/Messung.js	Mon Mar 13 12:39:14 2017 +0100
+++ b/app/model/Messung.js	Thu Mar 16 14:44:04 2017 +0100
@@ -37,7 +37,7 @@
         name: 'messzeitpunkt',
         convert: function(v) {
             if (!v) {
-                return new Date();
+                return '';
             }
             return new Date(v);
         }

http://lada.wald.intevation.org