Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Date Functions to use date-fns /date-fns-tz #80

Open
christianhelp opened this issue Aug 18, 2024 — with Linear · 2 comments
Open

Refactor Date Functions to use date-fns /date-fns-tz #80

christianhelp opened this issue Aug 18, 2024 — with Linear · 2 comments
Assignees

Comments

Copy link
Contributor

Currently, a lot of the date comparison logic inside of the event section is being done by functions we create instead of using the built-in libraries. Could lead to issue later on if not fixed.

@christianhelp christianhelp self-assigned this Aug 18, 2024
Copy link

linear bot commented Aug 18, 2024

CK-114 Refactor Date Functions to use date-fns /date-fns-tz

Currently, a lot of the date comparison logic inside of the event section is being done by functions we create instead of using the built-in libraries. Could lead to issue later on if not fixed.

Copy link
Contributor Author

Adding to this, might be worth it to bump date-fns to the most recent version (v4) which actually adds native support for the tz functions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant