mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Working on project front side.
This commit is contained in:
@@ -7,4 +7,10 @@ export function humanReadableDate(rawDate: string | number | Date) {
|
||||
export function timeAgo(rawDate: string | number | Date) {
|
||||
const date = new Date(rawDate)
|
||||
return "Not implemented"
|
||||
}
|
||||
|
||||
export function formatDateLastContact(lastContact: string | number | Date | null) {
|
||||
return lastContact
|
||||
? format(new Date(lastContact), 'dd/MM/yyyy HH:mm')
|
||||
: "Never connected."
|
||||
}
|
||||
Reference in New Issue
Block a user