From 7f27be499c33c2967ae6504de3d5e9442c99aa03 Mon Sep 17 00:00:00 2001 From: VZ Date: Tue, 25 Dec 2012 15:47:02 +0100 Subject: [PATCH] Correct day-of-week return value documentation. At least with the latest Rakudo day-of-week returns 7 for Sunday, not 0. --- lib/Date.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Date.pod b/lib/Date.pod index d215a1127..4238a17f9 100644 --- a/lib/Date.pod +++ b/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