-
Notifications
You must be signed in to change notification settings - Fork 196
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 issues #218
Comments
same problem |
🆙 EDIT: |
as an alternative to momentjs, there is luxon, which is an immutable, date time library that is somewhat of a subset of momentjs. It is still part of the momentjs family of libraries however |
Similar to @rkkautsar my work around involved NOT storing |
Hi, I'm using moment.js
When putting the moment object (returned by
moment()
) in a Immutable datastructure, it gets broken and essential features like.format()
mysteriously quit working. Confusingly, the functionmoment.isMoment()
still returnstrue
, despite not being able to use it like a moment object at all.I believe this is related to #25 . Any thoughts on getting moment objects classified like react objects and dates, so they won't have their prototypes stripped (which is what I believe is happening)?
The text was updated successfully, but these errors were encountered: