# Doubts with date formatter when upgrading to 1.1.1

**URL:** <https://discuss.elastic.co/t/doubts-with-date-formatter-when-upgrading-to-1-1-1/17183>\
**Category:** Elasticsearch\
**Created:** [April 24, 2014, 7:06pm UTC](https://discuss.elastic.co/t/doubts-with-date-formatter-when-upgrading-to-1-1-1/17183 "2014-04-24T19:06:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matias\_Waisgold](https://avatars.discourse-cdn.com/v4/letter/m/8e8cbc/32.png) [@Matias\_Waisgold](https://discuss.elastic.co/u/Matias_Waisgold)\
**Post date:** [April 24, 2014, 7:06pm UTC](https://discuss.elastic.co/t/doubts-with-date-formatter-when-upgrading-to-1-1-1/17183/1 "2014-04-24T19:06:26Z")

</div>

Hi, I'm upgrading to 1.1.1 from the 0.90 series, and having different  
results when retrieving information, exactly with date formats. I want the  
dates I retrieve are in the same formate they are inserted, for example, I  
had a test that asserts that the same date is being retrieved from what  
it's inserted and after upgrading I see this:

expected:\<2014-04-24T1[5:01:53.450-03:00]\> but  
was:\<2014-04-24T1[8:01:53.450Z]\>

I already know that those dates are the same, but I need that the date  
retrieved from ES is exactly like inserted.

Is there any way that I can achieve that? This worked well in 0.90.\*

Thanks!

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAMaTqYop3WY0\_b-otvgP-vgXyaVPbQ-mqb2%2BPFbJe9Tmb8ASDw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAMaTqYop3WY0_b-otvgP-vgXyaVPbQ-mqb2%2BPFbJe9Tmb8ASDw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [April 26, 2014, 12:28am UTC](https://discuss.elastic.co/t/doubts-with-date-formatter-when-upgrading-to-1-1-1/17183/2 "2014-04-26T00:28:49Z")

</div>

Hey,

what exactly are you comparing here? can you share some code?

--Alex

On Thu, Apr 24, 2014 at 3:06 PM, Matías Waisgold [mwaisgold@gmail.com](mailto:mwaisgold@gmail.com)wrote:

> Hi, I'm upgrading to 1.1.1 from the 0.90 series, and having different  
> results when retrieving information, exactly with date formats. I want the  
> dates I retrieve are in the same formate they are inserted, for example, I  
> had a test that asserts that the same date is being retrieved from what  
> it's inserted and after upgrading I see this:
> 
> expected:\<2014-04-24T1[5:01:53.450-03:00]\> but  
> was:\<2014-04-24T1[8:01:53.450Z]\>
> 
> I already know that those dates are the same, but I need that the date  
> retrieved from ES is exactly like inserted.
> 
> Is there any way that I can achieve that? This worked well in 0.90.\*
> 
> Thanks!
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/CAMaTqYop3WY0\_b-otvgP-vgXyaVPbQ-mqb2%2BPFbJe9Tmb8ASDw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAMaTqYop3WY0_b-otvgP-vgXyaVPbQ-mqb2%2BPFbJe9Tmb8ASDw%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CAMaTqYop3WY0\_b-otvgP-vgXyaVPbQ-mqb2%2BPFbJe9Tmb8ASDw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAMaTqYop3WY0_b-otvgP-vgXyaVPbQ-mqb2%2BPFbJe9Tmb8ASDw%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAGCwEM\_At2CoactyQ3XPa%2BXBaQ1Vd88QmiJkw%3DrE-sOjLdCFTw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAGCwEM_At2CoactyQ3XPa%2BXBaQ1Vd88QmiJkw%3DrE-sOjLdCFTw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:33am UTC](https://discuss.elastic.co/t/doubts-with-date-formatter-when-upgrading-to-1-1-1/17183/3 "2017-07-06T01:33:22Z")

</div>


