MagicMirrorOrg / MagicMirrorOrg/MagicMirror
[Change Request] Migrate away from Date and Moment in favor of something that is actively supported and easy to use
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 23.9k
- Forks
- 4.6k
- Avg merge
- 17h 31m
- Merged PRs (30d)
- 25
Description
What problem do you want to solve with this change?
Moment library is in maintenance mode
What do you think is the correct solution?
Migrate MagicMirror to another Datetime library that is lightweight, usable and supports timezone calculations well.
Participation
- I am willing to submit a pull request for this change.
Additional comments
Javascript Date is not very usable especially with calculations and timezones and Moment (and Moment Timezone) are currently in maintenance mode. Luxon is the succesor of Moment that uses the Intl API. There are probably other options aswell which we can discuss here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing MagicMirror's current uses of JavaScript Date, Moment, and Moment Timezone, then compare candidate datetime libraries against the stated usability, lightweight, support, and timezone requirements. Done means MagicMirror has migrated away from Date and Moment to a selected library that supports the required timezone calculations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100