Remove greeter snapshot test

This commit is contained in:
Bastian Meissner 2022-04-20 12:29:00 +02:00
parent cd24e2bfc5
commit 78425f1115
3 changed files with 29 additions and 25 deletions

View file

@ -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();