[Lada-commits] [PATCH] Do not set a default value for messzeitpunkt in messung
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 16 15:33:50 CET 2017
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1489671844 -3600
# Branch release-2.5
# Node ID 78839fe4b9b7e8f916f87e356f50cbcc013de030
# Parent 954c77216b2d07ecb806287a7c8dd2669137a14a
Do not set a default value for messzeitpunkt in messung.
diff -r 954c77216b2d -r 78839fe4b9b7 app/model/Messung.js
--- 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);
}
More information about the Lada-commits
mailing list