(date: Date)
| 10 | dayjs.extend(utc); |
| 11 | |
| 12 | export const formatTimePast = (date: Date) => |
| 13 | dayjs.duration(dayjs(date).diff(dayjs())).humanize(true); |
| 14 | |
| 15 | export const formatDateForPicker = (date: number) => |
| 16 | dayjs(new Date(date)).format("YYYY-MM-DD HH:mm"); |
nothing calls this directly
no outgoing calls
no test coverage detected