Skip to content

Commit

Permalink
update old certifier date processing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgarrish committed Jan 17, 2025
1 parent a8345f3 commit 01d93f5
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions js/packageProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,21 +268,17 @@ var packageProcessor = (function() {

conf_group.appendChild(conf_p);

var cert_p = document.createElement('p');

if (certification_date || certifier || certifier_credentials) {
cert_p.appendChild(document.createTextNode('The publication was certified '));
}

if (certification_date) {
cert_p.appendChild(document.createTextNode(' on '));
cert_p.appendChild(document.createTextNode(certification_date));
}

// add punctuation - not in algorithm
cert_p.appendChild(getPunctuation());

conf_group.appendChild(cert_p);
var cert_p = document.createElement('p');
cert_p.appendChild(document.createTextNode('The publication was certified on '));
cert_p.appendChild(document.createTextNode(certification_date));

// add punctuation - not in algorithm
cert_p.appendChild(getPunctuation());

conf_group.appendChild(cert_p);
}

if (certifier_report) {

Expand Down

0 comments on commit 01d93f5

Please sign in to comment.