From 694227a3b148b5d564a35284babe927dc4d80a6b Mon Sep 17 00:00:00 2001 From: Me7c7 Date: Sat, 5 Oct 2024 16:14:34 +0300 Subject: [PATCH] Fix today's birthday displaying --- .../gadgetbridge/util/calendar/CalendarManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/calendar/CalendarManager.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/calendar/CalendarManager.java index b9b695f86..a44725c56 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/calendar/CalendarManager.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/util/calendar/CalendarManager.java @@ -252,7 +252,7 @@ public class CalendarManager { return null; } - if (birthday.isAfter(now)) { + if (birthday.isAfter(now) || birthday.isEqual(now)) { return birthday; }