Skip to content

Commit 83bbb39

Browse files
committed
Document .earlier takes plural units too
.earlier's docs say to see .later for units and it's confusing to say that only .later takes the plurals.
1 parent 2f27bfa commit 83bbb39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/DateTime.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ converted to an L<Int>.
274274
Allowed units are C<second>, C<seconds>, C<minute>, C<minutes>, C<hour>,
275275
C<hours>, C<day>, C<days>, C<week>, C<weeks>, C<month>, C<months>, C<year>,
276276
C<years>. Please note that the plural forms can only be used with
277-
the C<later> method.
277+
the C<later> and C<earlier> methods.
278278
279279
The C<:2nd> form of colonpairs can be used as a compact and self-documenting
280280
way of specifying the delta:

0 commit comments

Comments
 (0)