-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
I can't edit dates in volto in UK date format #6047
Comments
Volto has a single English locale: https://github.com/plone/volto/tree/main/packages/volto/locales/en/LC_MESSAGES Classic UI has 3 English locales: https://github.com/collective/plone.app.locales/tree/master/plone/app/locales/locales Could that be the underlying issue, that Volto is missing pieces that Classic UI has? |
At the Axolote Sprint, @gil-cano showed me that the browser's native |
@davisagli don't think volo is using the native date control. It is ignoring the browser locale and using the locale of the content. So first thing is to free it from the locale of the content for sidebar input and for contents view. |
Okay, sorry, my comment here was noise then. |
Describe the bug
In the CMSUI/sidebar dates are shown in US date format even if the user or site language is set to English UK.
This seems to be caused by two things. The translation of the CMSUI is tied to the language of the content not the user which is wrong (#1408) and also it seems like language variants like English UK are being ignored in Volto.
To Reproduce
Note that setting the content language to English UK also doesn't fix the problem.
Expected behavior
Screenshots
Software (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: