-
Notifications
You must be signed in to change notification settings - Fork 334
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
[2012-09-04] SS 3.01 asset date format #544
Comments
comment by: socks In case the description isn't clear. The date displayed in Files > Edit & Organize (grid field) isn't respecting the users date format preference. |
Set in AssetAdmin::getEditForm(), around line 172: $columns->setFieldCasting(array(
'Created' => 'Date->Nice'
)); What are some potential solutions for this? I was thinking about adding a UserNice() method on SS_Datetime, which would fallback to SS_Datetime::Nice() if needed. Thoughts? |
I don't see this problem in SS 3.2.1 yet. |
Default to "yyyy-MM-dd" for date format, and "H:mm" for time_format. Switched to config API for setting/getting values. Avoid using "MMM" in particular, since it causes inconsistencies in month names between jQuery UI and Zend_Locale_Format. Fixes silverstripe/silverstripe-cms#544
3.1 uses ->Ago. |
created by: @JStika (Pike)
created at: 2012-09-04
original ticket: http://open.silverstripe.org/ticket/7840
Why is bad date format (czech) in asset admin interface? It'd be default like on screen-02
The text was updated successfully, but these errors were encountered: