Format incoming dates, validate weekday, and return result
Format incoming dates, validate weekday, and return result
When date strings arrive from external webhooks, inconsistent formats and missing weekday info disrupt reporting and scheduling. It returns a normalized date and verified weekday so downstream systems receive consistent timestamps before processing.