Date range query - 29 of February in "MMdd" format issue

I encountered a difficulty when trying to query on
"field_name": {
"type": "date",
"format": "MMdd"
}
field. It happened for "0229" date and I got message "failed to parse date field [0229] with format [MMdd]". What shall I do considering 29 of February a valid date for leap years.

I you don't use a year, than the current is suspected.
But in 2018 there is no 29. 2..

Try using it with year, it should work.

Thanks @Mojster for your response.
I'm aware that it would work if the year is added, but in my case it must not be year dependent.

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