Convert Popup Date Format string to dojo date format string

667
0
09-12-2013 02:12 PM
BrianBeck
New Contributor III
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?
0 Replies