Fix(Fortune): Incorrect time difference calculation for recent events #46

Merged
tobiichi3227 merged 2 commits from fix/event-diff-cal into main 2024-12-25 11:07:38 +00:00

2 Commits

Author SHA1 Message Date
54168328c2 Fix(Fortune): Categorize events by trigger date type 2024-12-25 11:39:06 +08:00
e80f077ae3 Fix(Fortune): Calculate the time difference for events that have already occurred based on the next year
For example, if today is January 2nd, then the New Year's Day on January 1st should be calculated using January 1st of the next year.
2024-12-25 11:35:26 +08:00