Skip to content

Commit f845789

Browse files
committed
Fix up desc of :2foo format in .later
Don't make it sound like this is some "special syntax" for .later calls, as it's just another colonpair format.
1 parent 152849c commit f845789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/DateTime.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ C<hours>, C<day>, C<days>, C<week>, C<weeks>, C<month>, C<months>, C<year>,
273273
C<years>. Please note that the plural forms can only be used with
274274
the C<later> method.
275275
276-
Please note that the special ":2nd" named parameter syntax can be a compact
277-
and self-documenting way of specifying the delta
276+
The C<:2nd> form of colonpairs can be used as a compact and self-documenting
277+
way of specifying the delta:
278278
279279
say DateTime.new('2015-12-24T12:23:00Z').later(:2years); # OUTPUT: «2017-12-24T12:23:00Z␤»
280280

0 commit comments

Comments
 (0)