Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: EE-3.3.0.GA
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Salesforce Case Reference:
-
Workaround Exists:Yes
-
Workaround Description:
Description
A column in an ace:dataTable displays dates in the "dd.MM.yyyy HH:mm:ss" format. When attempting to filter on the time values, no results are returned. When filtering for the date, month, and year values this works without any issues.
Issue Links
- depends on
-
ICE-8908 ace:dataTable numerical filterMatchModes
-
- Open
-
This issue will be tackled when ready to overhaul filtering in general.
In the meantime this can be worked around by altering the toString representation of the Date object in the column to match the expected output format. Use a wrapper class similar to:
class DateWrapper extends Date {
{ this.d = d; }Date d;
public DateWrapper(Date d)
...
public toString()
{ return getMyDateConverter().toString(d); }}
Where getMyDateConverter().toString(Date) is implemented to produce a string formatted identically to the output in your column.