[MAGNOLIA-3560] Hardcoded date format in DialogDate Created: 23/Feb/11 Updated: 03/Aug/12 Resolved: 18/May/11 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | gui |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.4 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Ondrej Chytil | Assignee: | Jan Haderka |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||
| Date of First Response: | |||||||||||||
| Description |
|
Format of date used by DialogDate class is set to "yyyy-MM-dd". |
| Comments |
| Comment by Jan Haderka [ 18/May/11 ] |
|
Date format is now configurable via dateFormat and jsDateFormat properties of the date control. The default values are yyyy-MM-dd and %Y-%m-%d respectively. |
| Comment by Magnolia International [ 18/May/11 ] |
|
So the bug report says it should reflect the locale's format, and the resolution says the format pattern is configured ? |
| Comment by Jan Haderka [ 18/May/11 ] |
|
Yes, forgot to mention that. There is currently no way to automatically convert those values based on the user locale. It would be possible for java string, but not for JS, hence the possibility to manually configure the format rather then having just one hardcoded settings. |