Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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...
commit 7f27be499c33c2967ae6504de3d5e9442c99aa03 1 parent fe0907e
@vadz vadz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Date.pod
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
Please sign in to comment.
Something went wrong with that request. Please try again.