Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1395:f428b7d8f19b | 1398:b92aef19cff9 |
---|---|
35 name: 'messdauer' | 35 name: 'messdauer' |
36 }, { | 36 }, { |
37 name: 'messzeitpunkt', | 37 name: 'messzeitpunkt', |
38 convert: function(v) { | 38 convert: function(v) { |
39 if (!v) { | 39 if (!v) { |
40 return new Date(); | 40 return ''; |
41 } | 41 } |
42 return new Date(v); | 42 return new Date(v); |
43 } | 43 } |
44 }, { | 44 }, { |
45 name: 'status' | 45 name: 'status' |