expose format_date