feat(FE): show components and helper

This commit is contained in:
Michael 2025-03-30 23:36:55 +02:00
parent 035bf88e5f
commit c20adaa865
4 changed files with 232 additions and 0 deletions

View file

@ -0,0 +1,3 @@
export function dateFormatter(date: Date = new Date()): string {
return `${date.getFullYear()}-${(date.getMonth() + 1).toString().padStart(2, '0')}-${date.getDate().toString().padStart(2, '0')}`;
}