Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Accept any type of date in the
f
function
`date-fns` functions do not accept dates formatted as strings anymore, but only date objects. We make it so the `f` function returned by the `useI18n` hook still accepts other types of values, strings in particular. This should help consuming libs and apps to migrate.
- Loading branch information