# HG changeset patch # User Torsten Irländer # Date 1371724466 -7200 # Node ID fe4a1ee1541800487ce17df6fa64cc0b1124c98a # Parent 189a93e31be9b2e4a38a54c25a6b38b9485090e2 Added conversion of datefield. diff -r 189a93e31be9 -r fe4a1ee15418 app/model/Probe.js --- a/app/model/Probe.js Thu Jun 20 12:34:09 2013 +0200 +++ b/app/model/Probe.js Thu Jun 20 12:34:26 2013 +0200 @@ -11,7 +11,7 @@ {name: "nebenprobenNr"}, {name: "bezeichnung"}, {name: "kreis"}, - {name: "letzteAenderung"}, + {name: "letzteAenderung", type: 'date', convert: ts2date, defaultValue: new Date()}, {name: "media"}, {name: "mediaDesk"}, {name: "mittelungsdauer"},