Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Correct day-of-week return value documentation. #11

Merged
merged 1 commit into from

2 participants

@vadz

At least with the latest Rakudo day-of-week returns 7 for Sunday, not 0.

@vadz vadz Correct day-of-week return value documentation.
At least with the latest Rakudo day-of-week returns 7 for Sunday, not 0.
7f27be4
@xfix
Collaborator

Rakudo and specification seem to agree. Merging.

@xfix xfix merged commit 31748bc into perl6:master
@vadz vadz deleted the vadz:patch-1 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 25, 2012
  1. @vadz

    Correct day-of-week return value documentation.

    vadz authored
    At least with the latest Rakudo day-of-week returns 7 for Sunday, not 0.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Date.pod
View
2  lib/Date.pod
@@ -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
Something went wrong with that request. Please try again.