project icon indicating copy to clipboard operation
project copied to clipboard

Date format ISO 8601 update in reports

Open ei-nghon-phoo opened this issue 11 months ago • 1 comments

Acceptance Criteria:

  1. 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.
  2. The date format in the exported reports (All) must also adhere to ISO 8601 standards.
  3. The date format should include the full date (YYYY-MM-DD) and, the time in 24-hour format (HH:MM:SS).
  4. 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
  5. 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
  • [ ] Code Review
  • [ ] QA Passed

PR link : https://github.com/mojaloop/platform-shared-tools/pull/61 PR link : https://github.com/mojaloop/reporting-bc/pull/23

ei-nghon-phoo avatar Mar 08 '24 09:03 ei-nghon-phoo

Note: The ticket was edited to reflect both the timezone display in UI and reports, originally it was for only reports.

zarchituntw avatar May 07 '24 08:05 zarchituntw