<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to stop Text Field reformatting dates? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343783#M55472</link>
    <description>&lt;P&gt;If you can use Arcade, then you can do:&lt;/P&gt;&lt;PRE&gt; Text($feature.DateField, 'MMM Y')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 13:22:29 GMT</pubDate>
    <dc:creator>EarlMedina</dc:creator>
    <dc:date>2023-10-31T13:22:29Z</dc:date>
    <item>
      <title>How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343773#M55468</link>
      <description>&lt;P&gt;So I've noticed that text fields in arcgis online are reformatting dates. How do I stop this? I made it a text field for a reason. I want "October 2023" to appear, not "10/1/2023". The only way I can get it to stop doing this is to put in extra text, but I don't want that.&lt;/P&gt;&lt;P&gt;Please see the photos:&lt;/P&gt;&lt;P&gt;What I've written:&amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Savannah2019_0-1698756214937.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84544i2756FD9043EECBE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Savannah2019_0-1698756214937.png" alt="Savannah2019_0-1698756214937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What appears in the pop-up:&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Savannah2019_1-1698756253212.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84545iD5C17223235AD425/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Savannah2019_1-1698756253212.png" alt="Savannah2019_1-1698756253212.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 12:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343773#M55468</guid>
      <dc:creator>Savannah2019</dc:creator>
      <dc:date>2023-10-31T12:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343780#M55471</link>
      <description>&lt;P&gt;Can you share your map and I can take a look? thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 13:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343780#M55471</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2023-10-31T13:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343783#M55472</link>
      <description>&lt;P&gt;If you can use Arcade, then you can do:&lt;/P&gt;&lt;PRE&gt; Text($feature.DateField, 'MMM Y')&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 13:22:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343783#M55472</guid>
      <dc:creator>EarlMedina</dc:creator>
      <dc:date>2023-10-31T13:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343784#M55473</link>
      <description>&lt;P&gt;Unfortunately, no. It has some internal information, so I can't.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 13:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343784#M55473</guid>
      <dc:creator>Savannah2019</dc:creator>
      <dc:date>2023-10-31T13:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343788#M55474</link>
      <description>&lt;P&gt;Hi, it's not a date field- it's a text field. That's my problem. Using Text($.feature.TextField) does work and resets it to it's actual input value, but I don't want to have to create a text field and then an arcade function to have to say what I already wrote. If I could skip that, that'd be ideal.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 13:27:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343788#M55474</guid>
      <dc:creator>Savannah2019</dc:creator>
      <dc:date>2023-10-31T13:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343789#M55475</link>
      <description>&lt;P&gt;Are you setting the formatting on the fields&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RussRoberts_0-1698758809774.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84548i6CCC5225933030D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RussRoberts_0-1698758809774.png" alt="RussRoberts_0-1698758809774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 13:27:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343789#M55475</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2023-10-31T13:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343797#M55477</link>
      <description>&lt;P&gt;It's a text field, not a date field, so I don't even have that option. That's what is so confusing to me!&lt;/P&gt;&lt;P&gt;Text field:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Savannah2019_1-1698759060407.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84550iB11DCC992D628C65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Savannah2019_1-1698759060407.png" alt="Savannah2019_1-1698759060407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Formatting options:&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Savannah2019_0-1698759035189.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84549i0DC54C15F62A5A2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Savannah2019_0-1698759035189.png" alt="Savannah2019_0-1698759035189.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can add additional text and it'll stop trying to convert it to a date, but it isn't ideal:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Savannah2019_2-1698759298779.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84551i472E6D33C0C19E7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Savannah2019_2-1698759298779.png" alt="Savannah2019_2-1698759298779.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 13:35:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343797#M55477</guid>
      <dc:creator>Savannah2019</dc:creator>
      <dc:date>2023-10-31T13:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343818#M55480</link>
      <description>&lt;P&gt;Can you see what the service returns for that feature through the REST endpoint? I checked against a text field and the string October 2021 was not adjusted with formatting. If you can create a repro case using some other data or map that would be great too.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343818#M55480</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2023-10-31T14:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343831#M55483</link>
      <description>&lt;P&gt;I tried to create a new point feature class and it's not doing it, so I'm really not sure why this one just started acting up. I assumed it had to do with the most recent AGO update, but if it's only this feature layer that's affected, I'm at a loss.&lt;/P&gt;&lt;P&gt;Can you tell me where to look for the REST endpoint? Should I be looking for something specific? Looking at the rest services page, the only line about it says:&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ScheduledStart&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;I&gt;(type: esriFieldTypeString, alias: Scheduled Start, SQL Type: sqlTypeOther, length: 50, nullable: true, editable: true)&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343831#M55483</guid>
      <dc:creator>Savannah2019</dc:creator>
      <dc:date>2023-10-31T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343847#M55485</link>
      <description>&lt;P&gt;Ok- update: I put the layer in a new map- no issue. It's something to do with the map it's already in. Any ideas what could be causing it? It's not in an attribute expression, it's just selected from the fields list.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343847#M55485</guid>
      <dc:creator>Savannah2019</dc:creator>
      <dc:date>2023-10-31T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343890#M55489</link>
      <description>&lt;P&gt;I think I found the issue&lt;/P&gt;&lt;P&gt;- If you can open the web map in &lt;A href="https://ago-assistant.esri.com/" target="_blank"&gt;https://ago-assistant.esri.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- Check the field under fieldinfos and see if the property format exists.&amp;nbsp;&lt;/P&gt;&lt;P&gt;- If a format exists and it says shortdate&lt;/P&gt;&lt;P&gt;- if its there you can delete it from the JSON in the assistant&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RussRoberts_0-1698765076672.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84574iD9D298DBB092BBE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RussRoberts_0-1698765076672.png" alt="RussRoberts_0-1698765076672.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What caused this? I think possibly the original map created had the layer being used the field was originally a date field. The layer was overwritten and the field was changed to a string field but the web map still contained the date formatting.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 15:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343890#M55489</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2023-10-31T15:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop Text Field reformatting dates?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343903#M55492</link>
      <description>&lt;P&gt;Thank you! This worked beautifully &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think yes, when I first created this, it was an actual date field, but I realized that wouldn't work in all cases.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 15:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-stop-text-field-reformatting-dates/m-p/1343903#M55492</guid>
      <dc:creator>Savannah2019</dc:creator>
      <dc:date>2023-10-31T15:21:29Z</dc:date>
    </item>
  </channel>
</rss>

