Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Commit

Permalink
fix: #121
Browse files Browse the repository at this point in the history
Signed-off-by: bggRGjQaUbCoE <[email protected]>
  • Loading branch information
bggRGjQaUbCoE committed Jan 8, 2025
1 parent f9c3650 commit 96ea6d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -811,8 +811,8 @@ class Utils {
return;
}
DateTime latest = DateTime.parse(res.data[0]['created_at']);
latest = latest.copyWith(hour: latest.hour + 8);
DateTime current = DateTime.parse(BuildConfig.buildTime);
DateTime current = DateTime.parse('${BuildConfig.buildTime}Z');
current = current.copyWith(hour: current.hour - 8);
if (current.compareTo(latest) < 0) {
SmartDialog.show(
animationType: SmartAnimationType.centerFade_otherSlide,
Expand Down

0 comments on commit 96ea6d6

Please sign in to comment.