(date: number)
| 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"); |
| 17 | |
| 18 | export const formatToUTCDayMonth = (dateStr: string | Date) => |
| 19 | dayjs(dateStr).utc().format("DD MMM"); |
no outgoing calls
no test coverage detected