diff --git a/lib/util/extensions/cake_day.dart b/lib/util/extensions/cake_day.dart index 89c49df..7fba60c 100644 --- a/lib/util/extensions/cake_day.dart +++ b/lib/util/extensions/cake_day.dart @@ -3,7 +3,7 @@ import 'package:lemmy_api_client/v3.dart'; // inspired by https://github.com/LemmyNet/lemmy-ui/blob/66c846ededef8c0afd5aaadca4aaedcbaeab3ee6/src/shared/utils.ts#L533 extension PersonSafeCakeDay on PersonSafe { bool get isCakeDay { - final now = DateTime.now(); + final now = DateTime.now().toUtc(); return now.day == published.day && now.month == published.month &&