bidi date fix