<?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: Bug: FeatureTable displays null dates as 12/31/1969 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576961#M53873</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see what you are saying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked out featureTable API Reference and looks like there isn't anything to control the display if the date value is null-able. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something called &lt;A href="https://developers.arcgis.com/javascript/jsapi/featuretable-amd.html#dateoptions"&gt;dateOptions &lt;/A&gt;but there has to have a date to use that and format it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me see what I can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2016 18:53:34 GMT</pubDate>
    <dc:creator>AkshayHarshe</dc:creator>
    <dc:date>2016-01-12T18:53:34Z</dc:date>
    <item>
      <title>Bug: FeatureTable displays null dates as 12/31/1969</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576958#M53870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The FeatureTable widget displays NULL date values as 12/31/1969 (i.e., 0 in &lt;A href="https://en.wikipedia.org/wiki/Unix_time"&gt;Unix Time&lt;/A&gt;, adjusted for my local time zone). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a workaround for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://plnkr.co/XVGqSygRqei1Mlbw97vv"&gt;I have created a Plunk that demonstrates this issue&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 21:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576958#M53870</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2016-01-11T21:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: FeatureTable displays null dates as 12/31/1969</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576959#M53871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff, &lt;/P&gt;&lt;P&gt;I believe they have fixed this bug in Server 10.3 and above. There are few things you might want to check.&lt;/P&gt;&lt;P&gt;1) your server version&lt;/P&gt;&lt;P&gt;2) Check if the field is set to not null-able.&lt;/P&gt;&lt;P&gt;3) If you have imported the date filed for older shapefile into database and published it to server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anything doesn't work then try using a string field instead of Date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 21:27:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576959#M53871</guid>
      <dc:creator>AkshayHarshe</dc:creator>
      <dc:date>2016-01-11T21:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: FeatureTable displays null dates as 12/31/1969</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576960#M53872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue is on the client side. &lt;A href="http://data.wsdot.wa.gov/arcgis/rest/services/Shared/CityLimits/MapServer/2/query?where=LastUpdate+IS+NULL&amp;amp;text=&amp;amp;objectIds=&amp;amp;time=&amp;amp;geometry=&amp;amp;geometryType=esriGeometryEnvelope&amp;amp;inSR=&amp;amp;spatialRel=esriSpatialRelIntersects&amp;amp;relationParam=&amp;amp;outFields=LastUpdate&amp;amp;returnGeometry=false&amp;amp;returnTrueCurves=false&amp;amp;maxAllowableOffset=&amp;amp;geometryPrecision=&amp;amp;outSR=&amp;amp;returnIdsOnly=false&amp;amp;returnCountOnly=false&amp;amp;orderByFields=&amp;amp;groupByFieldsForStatistics=&amp;amp;outStatistics=&amp;amp;returnZ=false&amp;amp;returnM=false&amp;amp;gdbVersion=&amp;amp;returnDistinctValues=true&amp;amp;resultOffset=&amp;amp;resultRecordCount=&amp;amp;f=pjson"&gt;The map service is correctly returning &lt;EM&gt;null&lt;/EM&gt;&lt;/A&gt;. It's the &lt;A href="https://developers.arcgis.com/javascript/jsapi/featuretable-amd.html" target="_blank"&gt;FeatureTable widget&lt;/A&gt; that is converting the null values to 1/1/1970 UTC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 22:19:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576960#M53872</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2016-01-11T22:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: FeatureTable displays null dates as 12/31/1969</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576961#M53873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see what you are saying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked out featureTable API Reference and looks like there isn't anything to control the display if the date value is null-able. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something called &lt;A href="https://developers.arcgis.com/javascript/jsapi/featuretable-amd.html#dateoptions"&gt;dateOptions &lt;/A&gt;but there has to have a date to use that and format it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me see what I can do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 18:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576961#M53873</guid>
      <dc:creator>AkshayHarshe</dc:creator>
      <dc:date>2016-01-12T18:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: FeatureTable displays null dates as 12/31/1969</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576962#M53874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for looking into this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 18:58:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576962#M53874</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2016-01-12T18:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: FeatureTable displays null dates as 12/31/1969</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576963#M53875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FWIW, per &lt;A _jive_internal="true" href="https://community.esri.com/message/520158#520158"&gt;this thread&lt;/A&gt;, &lt;A href="https://community.esri.com/migrated-users/2525"&gt;Kelly Hutchins&lt;/A&gt;​ says that dateOptions was disabled but never responded when prompted on an update about the matter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 19:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/bug-featuretable-displays-null-dates-as-12-31-1969/m-p/576963#M53875</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2016-01-12T19:12:59Z</dc:date>
    </item>
  </channel>
</rss>

