Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/model/Messung.js Wed Mar 11 13:11:15 2015 +0100 +++ b/app/model/Messung.js Wed Mar 11 13:12:44 2015 +0100 @@ -26,7 +26,7 @@ name: 'messzeitpunkt', convert: function(v) { if (!v) { - return new Date(); + return new Date(); } return new Date(v); }, @@ -39,7 +39,7 @@ type: 'date', convert: function(v) { if (!v) { - return new Date; + return new Date(); } return new Date(v); },