capture-app
capture-app copied to clipboard
feat: [DHIS2-18310] enable non-Gregorian calendars in views & lists & forms
Implements DHIS2-18310 & DHIS2-18311 & DHIS2-18309 & DHIS2-18868
- Modified clientToList, clientToForm and clientToView converters to handle local format conversions (DHIS2-18310)
- Modified FormToClient converter to handle ISO format (DHIS2-18309)
- Ensure that all “Last updated” calculations are working when local calendar is used
- Ensure all date pickers (form and working list) are using local calendar.
- Enable non-Gregorian calendars in working list filters DHIS2-18311
- Fix search for a trackedEntity by a DATETIME & AGE attributes DHIS2-18868
Hi @alaa-yahia,
I noticed two issues with the Age field:
- When selecting a date from the calendar, the year, months, and days are filled with incorrect values. (i.e. In the video below, I selected today's date from the Ethiopian calendar, so the year, months, and day should have been filled with 0).
- When typing a value into the days field, the calendar is filled with the gregorian value of the date.
https://github.com/user-attachments/assets/9f7fe558-3e3b-4a0b-beb5-500032bc9d74
In the video above I used the Ethiopian calendar. Can you have a look? Thank you!
@simonadomnisoru I've pushed bug fixes addressing your feedbacks. Could you take another look when you have a time? Thank you
🚀 Deployed on https://deploy-preview-3900.capture.netlify.dhis2.org
Quality Gate failed
Failed conditions
5 New issues
5 New Code Smells (required ≤ 0)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
:tada: This PR is included in version 101.29.0 :tada:
The release is available on:
- AppHub release
v101.29.0- GitHub release
Your semantic-release bot :package::rocket: