Skip to content

Commit

Permalink
added assis
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Morris committed Dec 25, 2024
1 parent 41ebe84 commit 5df89d7
Show file tree
Hide file tree
Showing 3 changed files with 143 additions and 48 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
All of the poems in here are good, or interesting. There are currently 9,155 poems in 49 (3.673) languages by 603 (258.051) authors from 86 (13.820) countries.
All of the poems in here are good, or interesting. There are currently 9,158 poems in 49 (3.675) languages by 604 (258.254) authors from 86 (13.836) countries.

(The quantites in the parentheses are the effective counts, based on the entropy of the distribution over the poems.)
2 changes: 2 additions & 0 deletions poems/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ def get_holidays(t=None):
res.append("advent_sunday")
if year_day == advent_sunday_year_day - 7:
res.append("christ_the_king")
if year_day == advent_sunday_year_day + 14:
res.append("gaudate_sunday")

# these are floating holidays
weekday_count = int((day - 1) / 7) + 1
Expand Down
Loading

0 comments on commit 5df89d7

Please sign in to comment.