Skip to content
Snippets Groups Projects
Commit c0123d00 authored by Smith, Thomas E (PG/T - Comp Sci & Elec Eng)'s avatar Smith, Thomas E (PG/T - Comp Sci & Elec Eng)
Browse files

attempt to fix test

parent 7a3b101b
No related branches found
No related tags found
1 merge request!75Draft: Fix/change preexisting availability
Pipeline #109092 failed
......@@ -25,6 +25,32 @@ const months = [
];
const title = document.getElementById("title").textContent;
document.addEventListener('DOMContentLoaded', function() {
let possible_dates = [];
let date = new Date();
let year = date.getFullYear();
let month = date.getMonth();
let event_dates_str = [];
const day = document.querySelector(".calendar-dates");
const currdate = document.querySelector(".calendar-current-date");
const prenexIcons = document.querySelectorAll(".calendar-navigation span");
// Array of month names
const months = [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
];
currdate = document.querySelector(".calendar-current-date");
const title = document.getElementById("title").textContent;
console.log("Title: ",title);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment