date to string

main
Julian Gegner 2023-02-25 15:30:04 +01:00
parent de5815c71c
commit 9a13cfb9f1
1 changed files with 2 additions and 2 deletions

View File

@ -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(),
};
}
}