-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
MomentJS outdated #825
Comments
I'm in the process of switching Moment over to Luxon, which uses the browsers in-built Internationalization API, so this should resolve this issue. :) |
Hey all, Since it's been a year since this thread was updated, I thought I'd resurface this in light of this security notice on CVE-2022-31129, which is starting to get flagged by security scanners. |
@bennothommo any updates on the switch to Luxon? |
@LukeTowers I'd attempted it in this PR - I think it was working from memory - but I got stuck in the weeds with migrating absolutely everything to Snowboard/Mix and ended up in a huge merge conflict. I can certainly revisit this and try and convert things a bit more piece-meal. |
Winter CMS Build
dev-develop
PHP Version
8.0
Database engine
MySQL/MariaDB
Plugins installed
No response
Issue description
MomentJS outdated:
https://github.com/wintercms/winter/tree/develop/modules/system/assets/ui/vendor/moment
Steps to replicate
Go to Back-end preferences
/backend/backend/preferences
and set Timezone toEurope/Kyiv
Save and go to Dashboard. Open the console in your browser and you will see this error.
Workaround
No response
The text was updated successfully, but these errors were encountered: