(date, format = 'DD/MM/YYYY')
| 14 | export const getNow = () => dayjs(); |
| 15 | |
| 16 | export const formatDate = (date, format = 'DD/MM/YYYY') => |
| 17 | dayjs(date).format(format); |
| 18 | |
| 19 | export const parseToDate = (value, format = '') => { |
| 20 | return dayjs(value, format).toDate(); |
no outgoing calls
no test coverage detected