mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Improve precision
This commit is contained in:
parent
ba07247ec4
commit
9a991b221c
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user