fix date formatter