Skip to content

Commit b7847a5

Browse files
authored
Document in-timezone coerces
PoV: rakudo/rakudo@c8438e6 Propspec: Raku/roast@529e4e0 Closes rakudo/rakudo#2381 R#2381
1 parent 72b93ca commit b7847a5

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
@@ -375,7 +375,7 @@ Returns a DateTime object for the same time, but in time zone UTC.
375375
376376
Defined as:
377377
378-
method in-timezone(DateTime:D: $timezone = 0 --> DateTime:D)
378+
method in-timezone(DateTime:D: Int(Cool) $timezone = 0 --> DateTime:D)
379379
380380
Returns a DateTime object for the same time, but in the specified C<$timezone>, which is
381381
the offset B<in seconds> from L<GMT|https://en.wikipedia.org/wiki/Greenwich_Mean_Time>.

0 commit comments

Comments
 (0)