Closed abhipanda closed 6 years ago
Momentjs had its moment now its time to move on to smaller and tree shaking compatible library like https://date-fns.org/
Evidently the only code which is being used is format
if (dataType.startsWith('date')) { const format = dataType.replace('date:', ''); return moment(value, format).format('YYYYMMDDHHmmss'); }
Its a drop in replacement with 500KB savings :)
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Momentjs had its moment now its time to move on to smaller and tree shaking compatible library like https://date-fns.org/
Evidently the only code which is being used is format
Its a drop in replacement with 500KB savings :)