beck3905

Convert Popup Date Format string to dojo date format string

Discussion created by beck3905 on Sep 12, 2013
I am writing a completely custom form for editing data from an ArcGIS Online webmap.  I am trying to make my form honor any formatting configured in the Popup Configuration when authoring the webmap.  I am noticing in particular that the format property of fieldInfo objects for date field types within the PopupInfo property of webmap layers do not match the patterns that can be used by a dojo dijit.form.DateTextBox.

Is there a way to convert the format strings provided by the Popup object to a dojo compatible string?

Outcomes