mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-07-20 01:42:36 +02:00
Update month value
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
const time = new Date();
|
const time = new Date();
|
||||||
|
|
||||||
const prev = localStorage.getItem('date');
|
const prev = localStorage.getItem('date');
|
||||||
const date = String(time.getMonth()) + '.' + String(time.getDate());
|
const date = String(time.getMonth() + 1) + '.' + String(time.getDate());
|
||||||
|
|
||||||
const now = time.getTime();
|
const now = time.getTime();
|
||||||
let sunrise;
|
let sunrise;
|
||||||
|
Reference in New Issue
Block a user