------------------------------------------------------------
revno: 2826
committer: Lars Helge Overland <[email protected]>
branch nick: dhis2
timestamp: Tue 2011-02-08 14:26:02 +0100
message:
Fixed bug related to relative periods in report table
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/RelativePeriods.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/period/RelativePeriods.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/RelativePeriods.java 2011-02-08 13:15:54 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/RelativePeriods.java 2011-02-08 13:26:02 +0000
@@ -242,7 +242,7 @@
for ( Period period : relatives )
{
- period.setName( dynamicNames ? format.formatPeriod( period ) : MONTHS_THIS_YEAR[c++] );
+ period.setName( dynamicNames ? format.formatPeriod( period ) : periodNames[c++] );
period.setShortName( format.formatPeriod( period ) );
periods.add( period );
}
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp