[MAGNOLIA-4502] dateFormat and timeFormat doesn't work for control date Created: 02/Aug/12 Updated: 05/Apr/13 Resolved: 05/Apr/13 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.5.3 |
| Fix Version/s: | 4.5.9 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Ola Montan | Assignee: | Milan Divilek |
| 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)
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Description |
|
The date control contains properties dateFormat, timeFormat, jsDateFormat and jsTimeFormat. These values are ignored by the control. When checking the source code DialogDate.java, it was implemented in 4.4.7: String format = this.getConfigValue("dateFormat", "yyyy-MM-dd"); but in 4.5 the function was removed: String format = "yyyy-MM-dd"; //$NON-NLS-1$ Why is that? We need to customise the time (remove the seconds). |
| Comments |
| Comment by Milan Divilek [ 03/Aug/12 ] |
|
Hello Ola, thanks for reporting this issue. Configuration of date format was introduced in Magnolia 4.4.4 (ticket |
| Comment by Milan Divilek [ 03/Aug/12 ] |
|
|