Android Date field wrong date

Hello.

When we try to enter a value for a date in android app it returns a bad date when it is the first day of month. By ‘bad date’ I mean a date that does not exist.

I have tried with april nd May.
This is an example:

The result in the field is this:

If I try to enter 1st of may the result is this:

Our version of android app is 3.1.1.1. I am guesing this is a bug in android app. And I know a new release is in testing. Would this be feched in new release?

Thank you.

Hi @JaimeLopez that certainly looks like a bug… I have tried to replicate this with latest 3.2 version and it seems to be working fine.

Can I ask where you are located at? Locale sometimes causes some issues, although there should never be a 32 in the day placeholder.

Also if you could verify this is still happening with the beta testing app version to ensure it is not happening in 3.2 for your case. you can find the apk here Beta Testing - DHIS2

Regards,

Xavier.

1 Like

Hello @Xavi ,

Thank you for your answer.
I am installing the beta 3.2 versión now. I will let you know as soon as I have results.

Regards,

Jaime

1 Like

Hello @Xavi

I am sorry to tell you that the problem persist in the 3.2 beta version,

I have tried the same tablet with the Android 3.2 testing version installed with another tracker program (another server) and the behaviour is the same.

Regards

1 Like

Hello again @JaimeLopez and sorry for the late reply

It is unfortunate that the issue is still occurring in 3.2, it looks like sometimes depending on the locale the app is having some trouble parsing some dates. Reviewing open bugs we found that someone on the team already detected this and created a bug for it, it is already in ready to start but will be released for patch 3.2.1.

You can track the progress here Log in with Atlassian account

Apologies again for the error you are experiencing and thank you for bringing it to our attention.

Best wishes,

Xavier.

1 Like

Thank you @Xavi , I will be tracking the deploy of 3.2.1 version,