@@ -300,7 +300,7 @@ class NamedDayOfYearPeriod(EveryXPeriod):
300300 ----------
301301 .. code-block:: python
302302
303- # Every second monday of December at 12:00.
303+ # Every second Monday of December at 12:00.
304304 NamedDayOfYearPeriod(
305305 time=time(hour=12), # Time
306306 day="Mon", # Day (Monday)
@@ -377,8 +377,6 @@ class NamedDayOfMonthPeriod(EveryXPeriod):
377377 The day of week when to send.
378378 week: int
379379 The week number of which to send. E.g., 1 for 1st week, 2 for second week.
380- month: 1 - 12
381- The month in which to send.
382380 next_send_time: datetime | timedelta
383381 Represents the time at which the message should first be sent.
384382 Use ``datetime`` to specify the exact date and time at which the message should start being sent.
@@ -389,12 +387,11 @@ class NamedDayOfMonthPeriod(EveryXPeriod):
389387 ----------
390388 .. code-block:: python
391389
392- # Every second monday of December at 12:00.
393- NamedDayOfYearPeriod (
390+ # Second Monday of every month at 12:00.
391+ NamedDayOfMonthPeriod (
394392 time=time(hour=12), # Time
395393 day="Mon", # Day (Monday)
396394 week=2, # Which week (second monday)
397- month=12 # Month (December)
398395 )
399396 """
400397 DAYS = Literal ["Mon" , "Tue" , "Wed" , "Thu" , "Fri" , "Sat" , "Sun" ]
0 commit comments