dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36005
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18444: System info, server date was not updated
------------------------------------------------------------
revno: 18444
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-02-27 11:04:29 +0100
message:
System info, server date was not updated
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/system/DefaultSystemService.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-services/dhis-service-core/src/main/java/org/hisp/dhis/system/DefaultSystemService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/system/DefaultSystemService.java 2015-01-17 07:41:26 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/system/DefaultSystemService.java 2015-02-27 10:04:29 +0000
@@ -77,6 +77,8 @@
{
if ( systemInfo != null )
{
+ systemInfo.setServerDate( new Date() );
+
return systemInfo;
}