I would like the timestamp in a query to display as “MM/dd/yyyy”, but the default display in Cuba.platform is “dd/MM/yyyy”
I have been able to apply a simple formatter throughout many parts of a project as such:
where
public class DateFormatterMDY implements Formatter {
@Override
public String format(Object value) {
SimpleDateFormat dateFormat = new SimpleDateFormat (“MM/dd/yyyy”);
return value == null ? null : dateFormat.format(value);
}
}
However, I’m not finding a way to apply that format inside a query yet. Any tips?