Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
day-of-week returns values in the range 1..7, not 0..6
  • Loading branch information
Jan-Olof Hendig committed Aug 28, 2016
1 parent 288dcdb commit b72a2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/control.pod6
Expand Up @@ -566,7 +566,7 @@ C<given> can follow a statement to set the topic in the statement it follows.
# OUTPUT«foo␤»
printf "%s %02i.%02i.%i",
<Mo Tu We Th Fr Sa Su>[.day-of-week],
<Mo Tu We Th Fr Sa Su>[.day-of-week - 1],
.day,
.month,
.year
Expand Down

0 comments on commit b72a2b3

Please sign in to comment.