Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct day-of-week return value documentation.
At least with the latest Rakudo day-of-week returns 7 for Sunday, not 0.
  • Loading branch information
vadz committed Dec 25, 2012
1 parent fe0907e commit 7f27be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Date.pod
Expand Up @@ -69,7 +69,7 @@ Returns the day of the month of the date (1..31)
method day-of-week(Date:D:) returns Int:D
Returns the day of the week, where 0 is Sunday, 1 is Monday etc.
Returns the day of the week, where 1 is Monday, 2 is Tuesday and Sunday is 7.
=head2 day-of-year
Expand Down

0 comments on commit 7f27be4

Please sign in to comment.