BUG: collection measurement date/time field issues (#83)
This commit is contained in:
parent
d2c485af88
commit
234dc3a34c
3 changed files with 11 additions and 3 deletions
|
@ -3,7 +3,7 @@ import DS from 'ember-data';
|
|||
const { Model, attr, belongsTo } = DS;
|
||||
|
||||
export default Model.extend({
|
||||
dateMeasured: attr('string'),
|
||||
dateMeasured: attr('ccdb-date'),
|
||||
timeMeasured: attr('string'),
|
||||
waterTempC: attr('number'),
|
||||
airTempC: attr('number'),
|
||||
|
|
|
@ -11,7 +11,7 @@ export default Model.extend({
|
|||
collectionStartTime: attr('string-null-to-empty'),
|
||||
collectionEndDate: attr('ccdb-date'),
|
||||
collectionEndTime: attr('string-null-to-empty'),
|
||||
notes: attr('string'),
|
||||
notes: attr('string', { defaultValue: '' }),
|
||||
|
||||
project: belongsTo('project'),
|
||||
studyLocation: belongsTo('study-location'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue