changeset 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 f428b7d8f19b
children 0026b509a746
files app/model/Messung.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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