changeset 1399:78839fe4b9b7 release-2.5

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 954c77216b2d
children 69ebd572fe5c
files app/model/Messung.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/model/Messung.js	Thu Mar 16 14:39:56 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