← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8241: Minor fix for age of person in person list.

 

------------------------------------------------------------
revno: 8241
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-09-25 09:38:27 +0700
message:
  Minor fix for age of person in person list.
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/Patient.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/Patient.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/Patient.java	2012-09-11 07:31:17 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/patient/Patient.java	2012-09-25 02:38:27 +0000
@@ -418,11 +418,11 @@
 
         if ( age < 1 )
         {
-            return "( < 1 yr )";
+            return "< 1 yr";
         }
         else
         {
-            return "( " + age + " yr )";
+            return age + " yr";
         }
     }