Skip to content

Commit

Permalink
[DateTime-Instant-Duration.t] Avoid some more doubled named parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Sep 18, 2011
1 parent 62ecf0f commit 6bbd321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-temporal/DateTime-Instant-Duration.t
Expand Up @@ -19,7 +19,7 @@ sub dtpi($year, $month, $day, $hour, $minute, $second) {
DateTime.new(:$year, :$month, :$day, :$hour, :$minute, :$second).Instant
}

sub dti(*%args) { DateTime.new(year => 1984, |%args).Instant }
sub dti(*%args) { DateTime.new(|{year => 1984, %args}).Instant }

sub dsi($s) { DateTime.new($s).Instant }

Expand Down

0 comments on commit 6bbd321

Please sign in to comment.