How can I change x value in tooltip when use hover x unified?

I have a chart that has multi traces and hovermode: x unified. I use date x axis. It works well but I want to show dates in jalali format and it seems impossible. So I want to display jalali date in tooltip . can anyone help me?