Skip to content

Commit

Permalink
Adds new DateTime features for 2022.03 closes Raku#4043
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Mar 21, 2022
1 parent 72dce1a commit 46a9c05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/Type/DateTime.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ L<X::DateTime::TimezoneClash|/type/X::DateTime::TimezoneClash> is thrown.
say $datetime = DateTime.new(1470853583.3); # OUTPUT: «2016-08-10T18:26:23.300000Z␤»
$datetime = DateTime.new("2015-01-01T03:17:30+0500") # Formatted string
Since Rakudo release 2022.03, the C<day> parameter can be a C<Callable>, with
C<*> returning the last day in the month, and C<*-n> returning the last but
C<n>.
=head2 method now
Defined as:
Expand Down

0 comments on commit 46a9c05

Please sign in to comment.