feat: update mobile layout, fixes
This commit is contained in:
1
app/hooks/index.ts
Normal file
1
app/hooks/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./useFormattedDate";
|
4
app/hooks/useFormattedDate.ts
Normal file
4
app/hooks/useFormattedDate.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export function useFormattedDate(_date: string) {
|
||||
const date = new Date(_date)
|
||||
return `${date.getUTCFullYear()}/${date.getUTCMonth()}/${date.getUTCDate()}`
|
||||
}
|
Reference in New Issue
Block a user