Field | Description |
---|---|
Ticket ID | AMM-1223 |
Severity | Low |
Category | Bug |
Affected Module / Feature | ECD |
In the ECD registration screen, the time value was being appended to LMP, EDD, and DOB date fields (e.g., 2025-04-20T14:32:26).
Log/Trace review
Date fields were sent from the backend in ISO format and not properly formatted on the frontend before display. This led to time being shown unnecessarily. The absence of formatting logic and insufficient UI validations in logs caused the issue to pass undetected through testing phases.
Primary Root Cause Identified: The issue occurred because the date fields (LMP, EDD, DOB) were being stored or displayed along with the default time, due to improper formatting or handling in the front-end and backend logic.
Why it happened: The system was not explicitly formatting the date values to remove the time component.
Why wasn't it caught earlier? There was no specific validation or test case to check that only date values (without time) are captured and displayed. Also, UAT missed checking this scenario.
Action | Owner | Target Date | Status |
---|---|---|---|
Set time as 00:00:00 explicitly in LMP, EDD and DOB fields during data assignment | Devika | 21-04-2025 | Completed |
Action | Owner | Target Date | Status |
---|---|---|---|
Add test cases to verify date format correctness | QA |
The changes were verified through:
• UI testing to confirm only date values are shown.
• Backend logs reviewed to ensure time is not stored in the database.
• Regression test cases for date handling in ECD registration.
• Always ensure proper formatting of date fields in UI and backend.
• Conduct thorough UAT reviews for forms involving date/time fields.
Reviewed By | Date | Remarks |
---|---|---|