diff --git a/public/index.js b/public/index.js index a629f78..56a5bf7 100644 --- a/public/index.js +++ b/public/index.js @@ -1,8 +1,10 @@ const period = document.getElementById("period"); +const month = months[mont + 1] +var months = ['January','Febuary','March','April','May','June','July','August','September','October','November','December'] setInterval(() => { const now = new Date(); - const month = now.getMonth(); + const mont = now.getMonth(); const day = now.getDate(); const hours = now.getHours(); const minutes = now.getMinutes();