Skip to content
Snippets Groups Projects
Commit c4efebbb authored by Leon Tappe's avatar Leon Tappe :fire:
Browse files

reduce test length to 24 hours

parent 0a1f3f25
No related branches found
No related tags found
No related merge requests found
...@@ -214,7 +214,7 @@ class _UserViewState extends State<UserView> { ...@@ -214,7 +214,7 @@ class _UserViewState extends State<UserView> {
var date = form.certificationDate; var date = form.certificationDate;
var time = form.certificationTime; var time = form.certificationTime;
if (form.isTested) { if (form.isTested) {
date = DateTime(date!.year, date.month, date.day).add(const Duration(hours: 48)); date = DateTime(date!.year, date.month, date.day).add(const Duration(hours: 24));
date = date.add(Duration(hours: time!.hour, minutes: time.minute)); date = date.add(Duration(hours: time!.hour, minutes: time.minute));
} else if (form.isRecovered) { } else if (form.isRecovered) {
if (DateTime.now().difference(date!) < const Duration(days: 29)) { if (DateTime.now().difference(date!) < const Duration(days: 29)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment