You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: