Date format doesn't support localization
Bug #1274144 reported by
Doug Fish
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Confirmed
|
Low
|
Unassigned |
Bug Description
On the Admin/Overview panel (and likely others),the date format cannot be localized. It appears to be hardcoded to the ISO format. (YYYY-MM-DD).
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
importance: | Undecided → Low |
Changed in horizon: | |
assignee: | nobody → Kanchan Gupta (kanchan-gupta1) |
Changed in horizon: | |
assignee: | Kanchan Gupta (kanchan-gupta1) → nobody |
Changed in horizon: | |
assignee: | nobody → Danny.Ho (dannyh) |
Changed in horizon: | |
assignee: | Danny.Ho (dannyh) → nobody |
Changed in horizon: | |
assignee: | nobody → vaibhav (vaibhav-j10) |
Changed in horizon: | |
assignee: | vaibhav (vaibhav-j10) → nobody |
tags: | added: i18n |
Changed in horizon: | |
assignee: | nobody → Adriano (dritec) |
To post a comment you must log in.
I'm looking at the code here and thinking about what needs to happen to support a date format. One of the obstacles is going to be that javascript and python don't use the same syntax for formatting dates. I hope to find a subset of python date formats for which I can generate and equivalent javascript format. Are there other known/obvious obstacles I'm going to encounter?