Tomorrow Showing Correctly
parent
df3777bf92
commit
04881a1bd6
|
|
@ -47,8 +47,8 @@ function formatDay(date) {
|
||||||
if (date.getDate() == today.getDate())
|
if (date.getDate() == today.getDate())
|
||||||
return /*LANG*/"Today ";
|
return /*LANG*/"Today ";
|
||||||
else {
|
else {
|
||||||
const tomorrow = new Date(Date.now());
|
var tomorrow = new Date();
|
||||||
tomorrow.setDate(today.getDate + 1);
|
tomorrow.setDate(tomorrow.getDate() + 1);
|
||||||
if (date.getDate() == tomorrow.getDate()) {
|
if (date.getDate() == tomorrow.getDate()) {
|
||||||
return /*LANG*/"Tomorrow ";
|
return /*LANG*/"Tomorrow ";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue