From f51c3c17247e2a3da4272140446039763754bede Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 27 Nov 2025 21:41:30 +0800 Subject: [PATCH] :bug: Fix birthday check in result didn't show up --- DysonNetwork.Pass/Account/AccountEventService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DysonNetwork.Pass/Account/AccountEventService.cs b/DysonNetwork.Pass/Account/AccountEventService.cs index 1156761..9983ca7 100644 --- a/DysonNetwork.Pass/Account/AccountEventService.cs +++ b/DysonNetwork.Pass/Account/AccountEventService.cs @@ -357,7 +357,8 @@ public class AccountEventService( .FirstOrDefaultAsync(); var now = SystemClock.Instance.GetCurrentInstant().InUtc().Date; - if (accountBirthday.HasValue && accountBirthday.Value.InUtc().Date == now) + var birthdayDate = accountBirthday?.InUtc().Date; + if (birthdayDate.HasValue && birthdayDate.Value.Month == now.Month && birthdayDate.Value.Day == now.Day) checkInLevel = CheckInResultLevel.Special; var result = new SnCheckInResult