Changed localize_date to formatdate