# DATE format not persisting from meta tag

**URL:** <https://discuss.elastic.co/t/date-format-not-persisting-from-meta-tag/255724>\
**Category:** Elastic Search\
**Tags:** elastic-site-search\
**Created:** [November 17, 2020, 3:16pm UTC](https://discuss.elastic.co/t/date-format-not-persisting-from-meta-tag/255724 "2020-11-17T15:16:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Morgan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eric_morgan/32/79177_2.png) [@Eric\_Morgan](https://discuss.elastic.co/u/Eric_Morgan)\
**Post date:** [November 17, 2020, 3:16pm UTC](https://discuss.elastic.co/t/date-format-not-persisting-from-meta-tag/255724/1 "2020-11-17T15:16:17Z")

</div>

Hey! I've recently set up Site Search for our publication site. Having page dates in search results is great but the automatically grabbed date was in a format that was hard to read.

I updated the tag on our site to be in a prettier format and had the site recrawled. Here's the new tag:

 ![Screen Shot 2020-11-17 at 10.06.50 AM](https://us1.discourse-cdn.com/elastic/original/3X/7/7/779d400f6450fe2ed018ad3c781b0bc0453857f7.png)

However, the date pulled in the content properties is still formatted `YYYY-MM-DD hh:mm:ss z` on both the site and in the content properties via the SS backend:  
 ![Screen Shot 2020-11-17 at 10.14.09 AM](https://us1.discourse-cdn.com/elastic/original/3X/8/9/898a79c3edbc52c720988adc9b8a61bf66d7d0bb.png)

I can tell that the recrawl worked because the new date doesn't include the hh:mm:ss info that was previous there and looks to be defaulting all articles to 00:00:00 UTC for time of day.

Is there something I am missing with this date format that would help me pull the prettier date format into properties? The simpler format would be easier to scan as a user reads down search results.

Thanks!

---

<div class="post-metadata">

**Author:** ![qhoxie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qhoxie/32/47252_2.png) [@qhoxie](https://discuss.elastic.co/u/qhoxie)\
**Post date:** [November 25, 2020, 3:29pm UTC](https://discuss.elastic.co/t/date-format-not-persisting-from-meta-tag/255724/2 "2020-11-25T15:29:43Z")

</div>

Hello,

That resolution should be preserved if the date is using ISO 8601: [https://swiftype.com/documentation/site-search/guides/schema-design#date](https://swiftype.com/documentation/site-search/guides/schema-design#date)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 23, 2020, 3:29pm UTC](https://discuss.elastic.co/t/date-format-not-persisting-from-meta-tag/255724/3 "2020-12-23T15:29:45Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
