dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #42951
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21868: minor fix
------------------------------------------------------------
revno: 21868
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2016-02-03 18:19:04 +0700
message:
minor fix
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.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-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java 2016-01-05 05:42:04 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java 2016-02-03 11:19:04 +0000
@@ -873,6 +873,8 @@
event.setStoredBy( programStageInstance.getStoredBy() );
event.setCompletedBy( programStageInstance.getCompletedBy() );
event.setCompletedDate( DateUtils.getLongDateString( programStageInstance.getCompletedDate() ) );
+ event.setCreated( DateUtils.getLongDateString( programStageInstance.getCreated() ) );
+ event.setLastUpdated( DateUtils.getLongDateString( programStageInstance.getLastUpdated() ) );
UserCredentials userCredentials = currentUserService.getCurrentUser().getUserCredentials();