[MGNLADMLEG-5] CLONE - dateFormat and timeFormat doesn't work for control date Created: 05/Apr/13  Updated: 24/Jun/13  Resolved: 05/Apr/13

Status: Closed
Project: Admininterface Legacy 4.x (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0

Type: Improvement Priority: Neutral
Reporter: Ola Montan Assignee: Milan Divilek
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-4502 dateFormat and timeFormat doesn't wor... Closed
Template:
Acceptance criteria:
Empty
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 [ 05/Apr/13 ]

All changes reverted.

Generated at Sun Feb 11 23:08:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.