Update month value
This commit is contained in:
parent
232eb864fa
commit
35cf31b81f
|
@ -42,7 +42,7 @@
|
|||
const time = new 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();
|
||||
let sunrise;
|
||||
|
|
Loading…
Reference in New Issue