cleanup
This commit is contained in:
8
src/utils/timeUtils.ts
Normal file
8
src/utils/timeUtils.ts
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Gets the current date as YYYY-MM-DD.
|
||||
*
|
||||
* @returns the date
|
||||
*/
|
||||
export function getFormattedDate() {
|
||||
return new Date().toISOString().slice(0, 10);
|
||||
}
|
Reference in New Issue
Block a user