diff --git a/doc/Type/Dateish.rakudoc b/doc/Type/Dateish.rakudoc index 57ea25dfb..ac02834a9 100644 --- a/doc/Type/Dateish.rakudoc +++ b/doc/Type/Dateish.rakudoc @@ -183,7 +183,7 @@ say Date.today.yyyy-mm-dd("/"); # OUTPUT: «2020/03/14␤» =for code :ok-test
method mm-dd-yyyy(str $sep = "-" --> Str:D) -Returns the date in C format (L). +Returns the date in C format (L). The optional positional argument C<$sep>, which defaults to C«-», is a one-character separator placed between the different parts of the date. @@ -198,7 +198,7 @@ say Date.today.mm-dd-yyyy("/"); # OUTPUT: «03/14/2020␤» =for code :ok-test
method dd-mm-yyyy(str $sep = "-" --> Str:D) -Returns the date in C format (L). +Returns the date in C format (L). The optional positional argument C<$sep>, which defaults to C«-», is a one-character separator placed between the different parts of the date.