Index date starting with "Day of Week"

Elastic Error:
Caused by: java.lang.IllegalArgumentException: failed to parse date field [Tue Feb 06 2029 00:00:00 GMT-0500 (Eastern Standard Time)] with format [yyyy-MM-dd'T'HH:mm:ss.SSSZ||yyyy-MM-dd'T'HH:mm:ss.SSS'Z'||yyyy/MM/dd HH:mm:ss||yyyy/MM/dd||epoch_millis]

Date input: Tue Feb 06 2029 00:00:00 GMT-0500 (Eastern Standard Time)

Is there a way I can match that format for a date in ES? I don't see any options in the format documentation for "day of week"

This is coming from a javascript date.toString() that I'd prefer not to have to change.


this would be a start to play around EEE MMM dd yyyy HH:mm:ss ZZZ - I am not sure if you can parse GMT-0500 and you also could try to play around with z as a pattern for (Eastern Standard Time).

You can play around at with different date formats and see how those are parsed...


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