mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-12-26 04:48:51 +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