Skip to content

Commit 023ac49

Browse files
author
Jan-Olof Hendig
committed
Fix formatting and a partly broken link
1 parent 8d7aaa5 commit 023ac49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Type/Dateish.pod6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ default formatter is used. In that case the method will return a
5757
Callable type object.
5858
5959
The formatting function is called by
60-
L<DateTime method Str|/type/DateTime#method Str> with the
60+
L<DateTime method Str|/type/DateTime#method_Str> with the
6161
invocant as its only argument.
6262
6363
my $dt = Date.new('2015-12-31'); # (no formatter specified)
@@ -187,8 +187,8 @@ Defined as:
187187
Returns the date in C<YYYY-MM-DD> format (L<ISO 8601|https://en.wikipedia.org/wiki/ISO_8601>)
188188
189189
=begin code :ok-test<dd>
190-
say Date.new("2015-11-15").yyyy-mm-dd; # OUTPUT: «2015-11-15␤»
191-
say DateTime.new(1470853583).yyyy-mm-dd; # OUTPUT: «2016-08-10␤»
190+
say Date.new("2015-11-15").yyyy-mm-dd; # OUTPUT: «2015-11-15␤»
191+
say DateTime.new(1470853583).yyyy-mm-dd; # OUTPUT: «2016-08-10␤»
192192
=end code
193193
194194
=head2 method daycount

0 commit comments

Comments
 (0)