File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ default formatter is used. In that case the method will return a
57
57
Callable type object.
58
58
59
59
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
61
61
invocant as its only argument.
62
62
63
63
my $dt = Date.new('2015-12-31'); # (no formatter specified)
@@ -187,8 +187,8 @@ Defined as:
187
187
Returns the date in C < YYYY-MM-DD > format (L < ISO 8601|https://en.wikipedia.org/wiki/ISO_8601 > )
188
188
189
189
= 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»
192
192
= end code
193
193
194
194
= head2 method daycount
You can’t perform that action at this time.
0 commit comments