DEV Community

Jonas Brømsø
Jonas Brømsø

Posted on

Feature release 1.36 of the Date::Holidays Perl distribution

Triggered by yet another contribution from Wesley Schwengle (waterkip) I am happy to announce release 1.36 of the Date::Holidays Perl distribution.

The release introduces support for:

Here is a short demo of inquiring whether 2024-12-25 is a holiday in Curaçao.

#!/usr/bin/env perl

use strict;
use warnings;

use Data::Dumper;
use Date::Holidays;

my $holidays_hashref = Date::Holidays->is_holiday(
    year      => 2024,
    month     => 12,
    day       => 25,
    countries => ['cw'],
);

print STDERR Dumper($holidays_hashref);

exit 0;
Enter fullscreen mode Exit fullscreen mode

And the output:

$VAR1 = {
          'CW' => 'Pasku di Nacemento'
        };
Enter fullscreen mode Exit fullscreen mode

Change log for Date::Holidays

1.36 2024-02-11 Feature release, updated not required

Top comments (0)