Date format in 2.41- issues in Arabic

Hello community and happy Friday,

We just upgraded to 2.41.6, and I’ve had an issue reported to me by an Arabic language user, which I can replicate; when using the calendar for a TEA or DE with the ‘date’ format, the system is not recognising the information (and therefore not allowing us to save events which contain required fields for dates).

This only seems to happen when the interface language is in Arabic, and has only seemed to come up since we upgraded. Could anyone advise on this?

Thanks in advance!
Layla

1 Like

Hi @lismail

Thank you for your post. Which app are you using? Capture app? Would you share the steps to reproduce this on play.dhis2.org?

Thanks!

Hello Gassim,

Yes, sorry, I should have mentioned that this is on the Capture app.

To reproduce, use a TEA with the ‘date’ format (as a required field), then set the user interface and database lanuage to Arabic, and check whether it accepts data input and whether you can save the new enrolment.

This is what mine looks like- but clicking on the calendar does nothing, and even if you type the date manually, the system doensn’t seem to acknowledge it:

Thanks
Layla

Hi @lismail

I tried to reproduce this issue in both versions 2.41 stable as well as the latest snapshot:

It’s working fine on my side. Which language are you picking exactly? I selected ‘Arabic’ in all the language fields:

Please test using your browser’s Guest mode to avoid cache issues.

Thanks, Gassim. So it lets you select the date as shown in your second screenshot?
It is still happening for me in incognito mode, and only when in Arabic (the same as you’ve selected) is the interface language.
So strange!

I’ve just noticed that we are on 2.41.3 actually, but I dont suppose that makes much of a difference. The calendar is ‘iso8601’ - does that have any affect on things?
image

Thanks for looking into this.

Best
Layla

Hi @Gassim
There is an issue when selecting the date using calendar (not entering the date directly) if you set Arabic as database language on the Android App.
Steps to reproduce:
Android v3.1
DHIS2 v40

1 Like

Hi @mkannan,

thanks for reporting, I have verified that there is an issue with the date picker in Android when the database language is set to Arabic. I have created this Jira ticket to track it.

2 Likes

Thanks @vgarciabnz
Also any TEA with value type Age displays the same error message!