Skip to content

Commit

Permalink
Update countdownServerComponentWidget.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisL61 authored Aug 6, 2023
1 parent 6be6ec1 commit 4a4aed4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class _CountdownServerComponentWidgetState
}

String buildCountdown() {
Duration duration = DateTime.parse(widget.component.endTime).difference(DateTime.now().toUtc());
Duration duration = DateTime.parse(widget.component.endTime).difference(DateTime.now());
if (duration.isNegative) {
return widget.component.endText;
}
Expand Down

0 comments on commit 4a4aed4

Please sign in to comment.