Closed unobe closed 6 years ago
Thank you for the bug report! I'll push a CPAN release this weekend, if you need a temporary workaround you can use the following:
use Time::Moment;
use Time::Moment::Adjusters qw[:all];
BEGIN {
# Workaround typo in Time::Moment <= v0.43
if (__PACKAGE__->can('OthodoxEasterSunday')) {
*OrthodoxEasterSunday = \&Time::Moment::Adjusters::OrthodoxEasterSunday;
}
}
say Time::Moment->now->with(OrthodoxEasterSunday);
Thanks @chansen !
I have shipped the long overdue release of v0.44 to CPAN incorporating fixes for this typo. Sorry for the delay!
-- chansen
Thanks @chansen !
Thanks for the module, @chansen ! I use it at work and am also considering using it for a custom project and noted that there's a misspelling of 'OrthodoxEasterSunday' on line 17 of Time::Moment::Adjusters that doesn't allow the function to be exported.