Skip to content

Commit

Permalink
DEV-615 CRMS New Year prediction report (#117)
Browse files Browse the repository at this point in the history
- Replace commas in data and date lists with semicolons to accommodate Google Sheets stupidity.
  • Loading branch information
moseshll authored Nov 30, 2023
1 parent 437a5f7 commit 65f968b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bin/newyear.pl
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ sub ProcessCommonwealthProject {
if (defined $new_rights) {
my ($a, $r) = split m/\//, $new_rights;
SubmitNewYearReview($id, $a, $r, 'Commonwealth', $record,
join(',', sort keys %alldates),
join(',', sort keys %predictions));
join(';', sort keys %alldates),
join(';', sort keys %predictions));
}
}
}
Expand Down Expand Up @@ -282,7 +282,7 @@ sub ProcessPubDateProject
}
if (defined $attr && $attr ne $acurr) {
SubmitNewYearReview($id, $attr, 'cdpp', 'Publication Date', $record,
join(',', sort keys %extracted_data), '');
join(';', sort keys %extracted_data), '');
}
}
}
Expand Down Expand Up @@ -366,8 +366,8 @@ sub ProcessCrownCopyrightProject {
if (defined $new_rights) {
my ($a, $r) = split m/\//, $new_rights;
SubmitNewYearReview($id, $a, $r, 'Crown Copyright', $record,
join(',', sort keys %alldates),
join(',', sort keys %predictions));
join(';', sort keys %alldates),
join(';', sort keys %predictions));
}
}
}
Expand Down

0 comments on commit 65f968b

Please sign in to comment.