dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #10272
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2826: Fixed bug related to relative periods in report table
------------------------------------------------------------
revno: 2826
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
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 );
}