-
Notifications
You must be signed in to change notification settings - Fork 641
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
Control Panel not showing dates or date/time pickers in user's locale #2439
Comments
I wasn’t able to reproduce this so I can’t say for sure, but noticed some issues with that Can you try changing your |
I updated to latest dev-develop version but still have the same issue. Should I submit an issue and include logs/db? Thanks. |
Update - tried uninstalling plugins one-by-one and discovered that Matrix Colors are causing this. If I disable that plugin, everything behaves again (can also change to German time properly). Still works if I rollback to 3.0.0-RC10.1. I'll report this as an issue on https://github.com/doublesecretagency/craft-matrixcolors . @lindseydiloreto |
Ah very strange. @lindseydiloreto let me know if you need help debugging. |
Strange indeed. Thanks guys, I'll follow up with this on the Matrix Colors repo. 👍 |
So it turns out this might be a Craft bug after all, @brandonkelly. Steps to reproduce:
use craft\web\assets\cp\CpAsset; And within the $this->depends = [CpAsset::class];
|
Thanks @lindseydiloreto! All fixed now for the next release. |
Awesome, thanks @brandonkelly! |
Description
I have a few date fields in the CP (date pickers only, no time). Despite having a default locale set in config\general.php:
and also all users having selected their locale to "English (United Kingdom)", all date fields still show US formatting (month/date/year). The same formatting is shown when viewing date field as a custom column in CP lists.
Is there another place where I could set date fields to follow a selected locale? Ideally, they'd follow what the user has set.
I also tried changing my user's locale to German - everything changed in the CP except for dates which are still en_us formatted.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: