Remove greeter snapshot test
This commit is contained in:
parent
cd24e2bfc5
commit
78425f1115
3 changed files with 29 additions and 25 deletions
|
@ -94,8 +94,9 @@ export const getDateString = (
|
|||
weekdays: Array<string>,
|
||||
months: Array<string>,
|
||||
format: string,
|
||||
date?: Date,
|
||||
) => {
|
||||
const currentDate = new Date();
|
||||
const currentDate = date ? date : new Date();
|
||||
|
||||
const weekday = weekdays[currentDate.getDay()];
|
||||
const day = currentDate.getDate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue