← Back to team overview

dhis2-users team mailing list archive

d2:monthsBetween (date1,date2) gives wrong results

 

Apparently there is a bug on a program indicator function  d2:monthsBetween (date1,date2)

The results produced by a program indicator using thefunctionality is not realistic, see the attachment. 

I created three program indicators using d2:yearsBetween,d2:daysBetween and d2:monthsBetween. Apart form d2:monthsBetween, the rest wasproducing an expected results. 

I created the issue on JIRA: https://jira.dhis2.org/browse/DHIS2-5197?filter=-2




Regards
Sele

PNG image


Follow ups