Skip to content

Commit

Permalink
Fixing the Live Update Month Names.
Browse files Browse the repository at this point in the history
  • Loading branch information
HastDu authored Oct 24, 2024
1 parent 9e20f46 commit beb26e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/index.js
Original file line number Diff line number Diff line change
@@ -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();
Expand Down

0 comments on commit beb26e0

Please sign in to comment.