Bug
- Fixed problem where update-holidays.pl did not use the YYYYMMDD date foramt.
This commit is contained in:
@@ -165,6 +165,9 @@ for my $holiday (split /\n/ms, $data)
|
||||
{
|
||||
my $parsed = from_json ($holiday);
|
||||
|
||||
# Change date format from YYYY-MM-DD to YYYYMMDD.
|
||||
$parsed->{'date'} =~ s/-//g;
|
||||
|
||||
if (@regions == 0 ||
|
||||
(@regions > 0 && ($parsed->{'region'} eq '' ||
|
||||
exists $region_hash{$parsed->{'region'}})))
|
||||
|
||||
Reference in New Issue
Block a user