1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +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(() {
_timeEnd = newDate.add(Duration(
hours: newTime.hour - newDate.hour,
minutes: newTime.minute - newDate.minute));
print(newDate.toString());
print(newTime);
print(_timeEnd);
minutes: newTime.minute - newDate.minute,
seconds: -newDate.second));
});
}