From bba5e58fba0956cad39cd6516fc00cd4173384a2 Mon Sep 17 00:00:00 2001
From: ThatOneCalculator
+
🎉{{ i18n.t("dayX", { day }) }}🎉 { const now = new Date(); const nd = now.getDate(); @@ -121,6 +125,13 @@ const tick = () => { yearP.value = (yearNumer / yearDenom) * 100; isHoliday.value = now.getDay() === 0 || now.getDay() === 6; + + if (hasBirthday) { + const [bdayYear, bdayMonth, bdayDay] = $i.birthday.split("-"); + if (month.value === +bdayMonth && day.value == +bdayDay) { + isBirthday.value = true; + } + } }; useInterval(tick, 1000, {