Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Is moment.js still the preferred library for wrapping JavaScript DateTime ? #426

Open
actuallyyun opened this issue Oct 28, 2022 · 2 comments

Comments

@actuallyyun
Copy link

Hi there,
In lesson 1 exercise 7, the syllabus recommends using moment.js to calculate the number of nights. I looked up the documentation of moment.js, and it says: We now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done.
I ended up using luxonwhich is recommended in themoment.js` documentation.
I understand that for completing the exercise, this probably doesn't matter much, but it would be nice to learn the more updated and preferred technology in the course.
If you think this could be a good idea, I could create a pull request to fix it.

@gregdyke
Copy link
Contributor

Great catch, please do create the PR!

@actuallyyun
Copy link
Author

@gregdyke Ok will do!

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

No branches or pull requests

2 participants