fix: remove date-fns #3039
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/replace-date-fns"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This removes date-fns and replaces it with the already used dayjs library. It does not make sense to have two libraries for the same purpose, and dayjs seems to be smaller and its translations are already integrated. Since we have to use dayjs because it is used by the gantt chart, this was the obvious way to go (instead of replacing dayjs with date-fns).
Resolves https://github.com/go-vikunja/vikunja/issues/391
Hi konrad!
Thank you for creating a PR!
I've deployed the frontend changes of this PR on a preview environment under this URL: https://3039-fix-replace-date-fns--vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somewhere. The easiest to use is https://try.vikunja.io/.
This preview does not contain any changes made to the api, only the frontend.
Have a nice day!
bbfc35d04f
to313ecd704a
313ecd704a
to3707c3f27d