Doubts with date formatter when upgrading to 1.1.1


(Matías Waisgold) #1

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.
To view this discussion on the web visit 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.


(Alexander Reelsen) #2

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.comwrote:

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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAMaTqYop3WY0_b-otvgP-vgXyaVPbQ-mqb2%2BPFbJe9Tmb8ASDw%40mail.gmail.comhttps://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.

--
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.
To view this discussion on the web visit 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.


(system) #3