1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 14:59:22 +00:00

Improve precision

This commit is contained in:
Pierre HUBERT 2020-04-25 08:25:32 +02:00
parent ba07247ec4
commit 9a991b221c

View File

@ -251,11 +251,8 @@ class _PostCreateFormWidgetState extends State<PostCreateFormWidget> {
setState(() { setState(() {
_timeEnd = newDate.add(Duration( _timeEnd = newDate.add(Duration(
hours: newTime.hour - newDate.hour, hours: newTime.hour - newDate.hour,
minutes: newTime.minute - newDate.minute)); minutes: newTime.minute - newDate.minute,
seconds: -newDate.second));
print(newDate.toString());
print(newTime);
print(_timeEnd);
}); });
} }