fix: Handle invalid date parsing (bp #10614) (#10618)
fix: Handle invalid date parsing (bp #10614) (#10618)

(cherry picked from commit dde11a50e9b02493aa43865c2ec75949ec900266)

Co-authored-by: Suraj Shetty <c1fab1cf28e7dcca05cc07266aa459291053d3da@users.noreply.github.com>
vjFaLk/frappe,vjFaLk/frappe,vjFaLk/frappe,vjFaLk/frappe