Mercurial > lada > lada-client
comparison app/model/Messwert.js @ 564:7a163f7ad5d8
Datumsumwandlung Timestamp -> Datum korrigiert
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Mon, 09 Mar 2015 15:29:13 +0100 |
parents | e362ecb46e77 |
children | c07419f07a0c c5b8896768a2 |
comparison
equal
deleted
inserted
replaced
563:c3169d4847dd | 564:7a163f7ad5d8 |
---|---|
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 v; | 42 return new Date(); |
43 } | 43 } |
44 return new Date(); | 44 return new Date(v); |
45 }, | 45 }, |
46 defaultValue: new Date() | 46 defaultValue: new Date() |
47 }], | 47 }], |
48 | 48 |
49 idProperty: 'id', | 49 idProperty: 'id', |