ran npm tester
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
const tomorrow = () => {
|
const tomorrow = () => {
|
||||||
let t = new Date();
|
let t = new Date();
|
||||||
t.setDate(t.getDate() + 1);
|
t.setDate(t.getDate() + 1);
|
||||||
return `${t.getFullYear()}-${String(t.getMonth() + 1).padStart(2, '0')}-${String(
|
return `${String(t.getMonth() + 1).padStart(2, '0')}-${String(
|
||||||
t.getDate()
|
t.getDate()
|
||||||
).padStart(2, '0')}`;
|
).padStart(2, '0')}-${t.getFullYear()}`;
|
||||||
};
|
};
|
||||||
module.exports = tomorrow;
|
module.exports = tomorrow;
|
||||||
Reference in New Issue
Block a user