The date format displayed in the admin portal UI and the preview section of the reports (settlement initiation report, settlement report, settlement detail report. settlement statement report) must comply with ISO 8601 standards.
The date format in the exported reports (All) must also adhere to ISO 8601 standards.
The date format should include the full date (YYYY-MM-DD) and, the time in 24-hour format (HH:MM:SS).
The sample format will be yyyy-mm-ddT hh:mm:ss+|– hh:mm
if UTC >>> 2024-05-07T04:03:11+00:00
if MM >>> 2024-05-07T10:33:11+06:30
Sample format breakdown: 2024-05-07T 13:34:56+06:30
2024: Represents the year.
05: Represents the month (May).
07: Represents the day of the month (7th).
T: Indicates the start of the time component.
13: Represents the hour (1PM in 24-hour format).
34: Represents the minute.
56: Represents the second.
+06:30: +/- timezone difference
Tasks
[ ] Code Review by community member
[ ] Acceptance Criteria pass
[ ] Unit Tests pass
[ ] Integration Tests pass
[ ] Update DateTime into ISO 8601 formats in UI and reports
Acceptance Criteria:
Tasks
PR link : https://github.com/mojaloop/platform-shared-tools/pull/61 PR link : https://github.com/mojaloop/reporting-bc/pull/23