Skip to content

Commit

Permalink
Fix signature typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cfa committed Mar 7, 2023
1 parent 92686de commit 438708c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Type/DateTime.rakudoc
Expand Up @@ -300,7 +300,7 @@ Returns the date and time as a POSIX/UNIX timestamp (integral seconds since the
If C<$ignore-timezone> is C<True>, the C<DateTime> object will be treated as if
the time zone offset is zero.

method posix(Bool:D: $ignore-timezone = False, :real --> Num:D)
method posix(Bool:D: $ignore-timezone = False, :$real --> Num:D)

As of release 2022.06 of the Rakudo compiler, it is also possible to specify a
C<:real> named argument. If specified with a true value, a C<Num> will be
Expand Down

0 comments on commit 438708c

Please sign in to comment.