Skip to content

Commit

Permalink
修万圣节日期判定
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Nov 1, 2024
1 parent 45a4b10 commit d38ff06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parts/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function THEME.calculate(Y,M,D)
'xmas' or

-- Halloween
(M=='10' and D>='28' or M=='11' and D<='04') and
(M=='10' and D>='28' or M=='11' and D>='01' and D<='04') and
'halloween' or

-- Birthday
Expand Down

0 comments on commit d38ff06

Please sign in to comment.