Merge pull request #23849 from anupamvs/formatdate

fix: replaced formatdate -> format_date