← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2838: fix bug: Organisation unit opening and closing date don't show in info box.

 

------------------------------------------------------------
revno: 2838
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-02-14 10:00:37 +0700
message:
  fix bug: Organisation unit opening and closing date don't show in info box.
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlOrganisationUnit.vm


--
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-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlOrganisationUnit.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlOrganisationUnit.vm	2010-11-20 08:35:36 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/xmlOrganisationUnit.vm	2011-02-14 03:00:37 +0000
@@ -4,8 +4,8 @@
 	<name>$!encoder.xmlEncode( $organisationUnit.name )</name>
     <shortName>$!encoder.xmlEncode( $organisationUnit.shortName )</shortName>
     <code>$!encoder.xmlEncode( $organisationUnit.code )</code>
-    <openingDate>$!format.formatPeriod( $organisationUnit.openingDate )</openingDate>
-    <closedDate>$!format.formatPeriod( $organisationUnit.closedDate )</closedDate>
+    <openingDate>$!format.formatDate( $organisationUnit.openingDate )</openingDate>
+    <closedDate>$!format.formatDate( $organisationUnit.closedDate )</closedDate>
     <active>$organisationUnit.active</active>
     <comment>$!encoder.xmlEncode( $organisationUnit.comment )</comment>
     <geoCode>$!encoder.xmlEncode( $organisationUnit.geoCode )</geoCode>