Skip to content

Commit 59052ef

Browse files
committed
Renamed weekday-of-month to day-of-week-in-month
Weekday usually means any day of the week other than a day that occurs in the weekend unless the API is constrained by struct tm. Which uses wday.
1 parent ea0af47 commit 59052ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

S32-setting-library/Temporal.pod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ December may be placed in the first week of the next year.
200200
There's a C<day-of-week> method, which returns the day of the week as a
201201
number 1..7, with 1 being Monday and 7 being Sunday.
202202

203-
The C<weekday-of-month> method returns a number 1..5 indicating the
204-
number of times a particular weekday has occurred so far during that
203+
The C<day-of-week-in-month> method returns a number 1..5 indicating the
204+
number of times a particular day-of-week has occurred so far during that
205205
month, the day itself included. For example, June 9, 2003 is the second
206206
Monday of the month, and so this method returns 2 for that day.
207207

@@ -264,7 +264,7 @@ like their C<DateTime> equivalents:
264264
week-year
265265
week-number
266266
day-of-week
267-
weekday-of-month
267+
day-of-week-in-month
268268
days-in-month
269269
day-of-year
270270
is-leap-year

0 commit comments

Comments
 (0)