Don't miss out Virtual Happy Hour today (April 26).
Don't miss out Virtual Happy Hour today (April 26).
Feb 06, 2018
Jun 04, 2018
Closed, Fixed and tested
A user can store custom date(time) formats in ElasticSearch for Profiles only.
1. Send a Post/Put request through Profile API with the following body having offset in date time value.
{ "Name": "John Doe", "Info": { "Email": "user1@example.com" }, "FirstSeen": "2017-10-11T20:55:59.324+06" }
Observation: Every time it stores date and time values with an offset of +02:00 irrespective of input offset value but the overall value is correct.
2. (OR) Send a Post/Put request through Profile API with the following body
{ "Name": "John Doe", "Info": { "Email": "user123@example.com" }, "FirstSeen": "2017-10-11T20:30" }
Observation: It stores date and time values in a custom format without offset.
Expectation: Date and times values should follow a consistent format.
Apparently, these formats are served the purpose and I didn't find any case where one fails or yields unexpected results.