The display of a DateTime field shows only as a date in the DetailViewer and is not using our formatter.
The field defined as:
we set the DateTime display via
where dateTimeDisplayFormatter is formatting the date via "yyyy-MM-dd HH:mm:ss Z"
On forms the fields shows as: 2014-04-24 14:46:19 -0400
And in the DetailViewer it shows as: 2014-04-24
Any ideas why?
The field defined as:
Code:
<field name="sysCreatedOn" type="datetime">
Code:
DateUtil.setNormalDatetimeDisplayFormatter(dateTimeDisplayFormatter); DateUtil.setShortDatetimeDisplayFormatter(dateTimeDisplayFormatter);
On forms the fields shows as: 2014-04-24 14:46:19 -0400
And in the DetailViewer it shows as: 2014-04-24
Any ideas why?
Comment