make date field of workout json encodable
parent
0e070d73a2
commit
0e49b9cd32
|
@ -28,7 +28,7 @@ class Workout implements DatabaseRecord {
|
||||||
return {
|
return {
|
||||||
'motivationBefore': _motivationBefore,
|
'motivationBefore': _motivationBefore,
|
||||||
'motivationAfter': _motivationAfter,
|
'motivationAfter': _motivationAfter,
|
||||||
'workoutDate': _workoutDate,
|
'workoutDate': _workoutDate.toIso8601String(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue