Mercurial > lada > lada-client
comparison app/model/Messung.js @ 584:8ed6c3fb8bda
Fixed indention and constructor call.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 11 Mar 2015 13:12:44 +0100 |
parents | c3169d4847dd |
children | c07419f07a0c c5b8896768a2 |
comparison
equal
deleted
inserted
replaced
583:54545b3ae294 | 584:8ed6c3fb8bda |
---|---|
24 name: 'messdauer' | 24 name: 'messdauer' |
25 }, { | 25 }, { |
26 name: 'messzeitpunkt', | 26 name: 'messzeitpunkt', |
27 convert: function(v) { | 27 convert: function(v) { |
28 if (!v) { | 28 if (!v) { |
29 return new Date(); | 29 return new Date(); |
30 } | 30 } |
31 return new Date(v); | 31 return new Date(v); |
32 }, | 32 }, |
33 defaultValue: new Date() | 33 defaultValue: new Date() |
34 }, { | 34 }, { |
37 }, { | 37 }, { |
38 name: 'letzteAenderung', | 38 name: 'letzteAenderung', |
39 type: 'date', | 39 type: 'date', |
40 convert: function(v) { | 40 convert: function(v) { |
41 if (!v) { | 41 if (!v) { |
42 return new Date; | 42 return new Date(); |
43 } | 43 } |
44 return new Date(v); | 44 return new Date(v); |
45 }, | 45 }, |
46 defaultValue: new Date() | 46 defaultValue: new Date() |
47 }, { | 47 }, { |