devsoc-unsw / devsoc-unsw/notangles

Decide between Day.js and date-fns

Open
#1,050 0 comments 0 reactions 0 assignees View on GitHub
👨🏻‍💻 dev 💻 📦 dependencies 🚛
Dominant language
TypeScript
Stars
79
Forks
9
PR merge metrics
No merged PRs in 30d

Description

We currently use Day.js for the calendar export, and date-fns for picking the current term, plus as the underlying date/time library for the [MUI date picker](https://mui.com/x/react-date-pickers/quickstart/)

Using both is wasteful - larger bundle, more dependencies to track and update. We should be able to move to just one.

- Investigate which one is "better" (support/issues, bundle size)
- Replace the removed one with the other

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.