What will be mapping format for date?

2018-08-23 06:39:53.821362+00

for this format I am creating mapping
"date": {
"type": "date",
"format" : "yyyy-MM-dd hh:mm:ss.SSSSSS+00"
}

giving format exception

Hi @Ankita_Ghosh,

this seems to work for me on 6.7, which version are you on?

The +00 is a timezone offset and it could be beneficial to use Z in the format instead to signal that it is the timezone, I believe having +00 in the format will simply be a required constant.

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