date to string
parent
de5815c71c
commit
9a13cfb9f1
|
@ -15,9 +15,9 @@ class Mood implements DatabaseRecord {
|
|||
@override
|
||||
Map<String, dynamic> toMap() {
|
||||
return {
|
||||
'moodValue': _moodValue,
|
||||
'value': _moodValue,
|
||||
'comment': _comment,
|
||||
'date': _date,
|
||||
'date': _date.toIso8601String(),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue