New version of date-fns does not accept strings as arguments anymore. We should move to use
https://github.com/iamkun/dayjs as the aragon-ui did
Functions now don't accept strings as arguments. Strings should be parsed using parseISO (ISO 8601) or parse.
See this post for more details.
// Before v2.0.0
addDays('2016-01-01', 1)
// v2.0.0 onward
addDays(parseISO('2016-01-01'), 1)
New version of date-fns does not accept strings as arguments anymore. We should move to use https://github.com/iamkun/dayjs as the aragon-ui did