Attribute Table Widget: Removing Time from DateTime Field

2656
2
Jump to solution
02-01-2016 10:51 AM
SethLewis1
Occasional Contributor III

Has anyone been successful in removing the time value from a dateTime field in the Attribute Table widget? I looked through the _FeatureTable.js on 1.3 DE but didn't see any obvious location to modify/insert additional code, e.g. by setting the Feature Table's dateOptions property timeEnabled to false.

Currently we're serving up a simple editing application (via AGOL web map) with the users exporting selected records via CSV. When users export records they'd like to have only the date value visible in the table.

Thanks for the help everyone.

0 Kudos
1 Solution

Accepted Solutions
JunshanLiu
Occasional Contributor III

Attribute Table call jimu.js/utils method: localizeDate() to format date, so you can do changes there.

View solution in original post

2 Replies
JunshanLiu
Occasional Contributor III

Attribute Table call jimu.js/utils method: localizeDate() to format date, so you can do changes there.

SethLewis1
Occasional Contributor III

Thanks for pointing me in the right direction!

0 Kudos