mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug
- Fixed problem where update-holidays.pl did not use the YYYYMMDD date foramt.
This commit is contained in:
parent
824cba7152
commit
8af872e289
18 changed files with 481 additions and 477 deletions
|
@ -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'}})))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue