mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Starting adding S3 support for file uploading and retrieving.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import {format} from "date-fns";
|
||||
|
||||
export function humanReadableDate(rawDate: string | number | Date) {
|
||||
return format(new Date(rawDate), 'dd/MM/yyyy HH:mm')
|
||||
}
|
||||
|
||||
export function timeAgo(rawDate: string | number | Date) {
|
||||
const date = new Date(rawDate)
|
||||
return "Not implemented"
|
||||
}
|
||||
Reference in New Issue
Block a user