ioet / ioet/time-tracker-ui

Replace/remove momentjs library

Open
#516 0 comments 0 reactions 0 assignees View on GitHub
nice to have tech-debt
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

According to [some articles](https://inventi.studio/en/blog/why-you-shouldnt-use-moment-js), momentjs is a slow/heavy/hard to debug library, and 2020's web projects should not rely on this library.
Performing a quick search on the project, it seems the momentjs is mainly used to calculate time ranges, before/after verifications, calculate time offset, and format dates. [Most of these operations( except formatting) can be done using the native elements](https://github.com/you-dont-need/You-Dont-Need-Momentjs#feature-parity).

Please evaluate if we can replace or remove momentjs from the time-tracker-ui's dependencies.

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.