[Lada-commits] [PATCH] Do not set a default value for messzeitpunkt in messung
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 16 14:44:48 CET 2017
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1489671844 -3600
# Node ID b92aef19cff9bbde72303e5012d5630e08677908
# Parent f428b7d8f19bc3559bd5117654410025975a4542
Do not set a default value for messzeitpunkt in messung.
diff -r f428b7d8f19b -r b92aef19cff9 app/model/Messung.js
--- 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);
}
More information about the Lada-commits
mailing list