Skip to content

Commit

Permalink
Fix typo in add-minutes script
Browse files Browse the repository at this point in the history
  • Loading branch information
tidoust committed Oct 2, 2024
1 parent 4ed627e commit b222d78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/add-minutes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ async function main(number) {
const day = project.days.find(day => day.name === session.day);
const year = day.date.substring(0, 4);
const month = day.date.substring(5, 7);
const day = day.date.substring(8, 10);
const url = `https://www.w3.org/${year}/${month}/${day}-${session.description.shortname.substring(1)}-minutes.html`;
const mday = day.date.substring(8, 10);
const url = `https://www.w3.org/${year}/${month}/${mday}-${session.description.shortname.substring(1)}-minutes.html`;
const response = await fetch(url);
if ((response.status !== 200) && (response.status !== 401)) {
console.log(`- no minutes found for session ${session.number}: ${url} yields a ${response.status}`);
Expand Down

0 comments on commit b222d78

Please sign in to comment.