dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42499
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21720: minor fix to isoStartOfYear
------------------------------------------------------------
revno: 21720
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2016-01-14 18:29:44 +0700
message:
minor fix to isoStartOfYear
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/ChronologyBasedCalendar.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/calendar/ChronologyBasedCalendar.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/ChronologyBasedCalendar.java 2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/ChronologyBasedCalendar.java 2016-01-14 11:29:44 +0000
@@ -310,7 +310,7 @@
@Override
public DateTimeUnit isoStartOfYear( int year )
{
- DateTime dateTime = new DateTime( year, 1, 1, 0, 0, chronology ).withChronology( ISOChronology.getInstance() );
+ DateTime dateTime = new DateTime( year, 1, 1, 11, 0, chronology ).withChronology( ISOChronology.getInstance() );
return DateTimeUnit.fromJodaDateTime( dateTime );
}
}