-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
Moment.js is a legacy project, Temporal is coming #2392
Comments
@plone/volto-team we can probably close this since we base our future on |
Without question, yeet moment.js from the stack. I could not find how to navigate to specific months and years in In any case, yes, paste a link to the issue or PR regarding the move to References: |
@stevepiercy The docs for the react-aria calendar component link to an example of how to add custom month/date selectors: https://codesandbox.io/p/sandbox/affectionate-rosalind-tdm323?file=%2Fsrc%2FCalendar.js |
@davisagli thanks! I updated the PLIP's "Proposal and Implementation" section. |
Moment.js is a legacy project, it is officially been stated.
react-dates
, which we are using, among other components we have, depends on it, and we also use it in other places.Temporal will be the new standard, it got to Stage 3. I still have to look further into it, but I wanted to raise awareness on the subject and possibly collect some comments.
Due to this new standard, migrating to other famous libraries like
date-fns
is probably not a good idea at this time, so unless we find out something interesting, we might want to keep an eye on these new standard and check how the world will adapt.One possibly interesting issue on the subject (at least the latest comments):
react-dates/react-dates#208
The text was updated successfully, but these errors were encountered: