Use persian calendar in date_histogram

hi
i'm using date histogram with monthly interval aggregation

"date_histogram": {
    "field": "events.create",
    "calendar_interval": "month",
    "format": "yyyy-MM-dd"
}

and this is the result

 {
       "key_as_string": "2023-01-01",
       "key": 1672531200000,
       "doc_count": 2
}

i want date in key_as_string to be base on persian calendar. (base on persian calendar "2023-01-01" must change to "2023-01-21")

is there way to achieve this?

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