Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Date.new an exception
Christmas has come.  Mention Date.today, and the new Date.new("Christmas")
  • Loading branch information
lizmat committed Dec 8, 2015
1 parent 240b9ae commit c60f405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Temporal.pm
Expand Up @@ -544,7 +544,7 @@ my class Date does Dateish {

multi method new() {
DEPRECATED(
:what('Date.new() without arguments as a way to get the Christmas date'),
:what('Date.new() without arguments to get the Christmas date'),
'Date.new(self.today.year, 12, 24)',
'2015.12',
);
Expand Down

0 comments on commit c60f405

Please sign in to comment.