Skip to content

Commit 9d1a02e

Browse files
author
Jan-Olof Hendig
committed
Documented the yyyy-mm-dd method
1 parent b2f5a76 commit 9d1a02e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/Type/Dateish.pod

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,16 @@ has occurred so far during that month, the day itself included.
207207
208208
say Date.new("2003-06-09").weekday-of-month; # 2 (second Monday of the month)
209209
210+
=head2 method yyyy-mm-dd
211+
212+
Defined as:
213+
214+
method yyyy-mm-dd(Date:D:) returns Str:D
215+
216+
Usage:
217+
218+
Dateish.yyyy-mm-dd
219+
220+
Returns the date in C<YYYY-MM-DD> format (L<ISO 8601|http://en.wikipedia.org/wiki/ISO_8601>)
221+
210222
=end pod

0 commit comments

Comments
 (0)