Use getDate() instead of the obviously wrong getDay()
This commit is contained in:
@ -12,7 +12,7 @@ const tomorrow = () => {
|
||||
'-' +
|
||||
String(t.getMonth() + 1).padStart(2, '0') +
|
||||
'-' +
|
||||
String(t.getDay()).padStart(2, '0')
|
||||
String(t.getDate()).padStart(2, '0')
|
||||
);
|
||||
};
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user