Skip to content

Commit

Permalink
Merge branch 'hotfix/0.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
schaefba committed Oct 6, 2015
2 parents 155fec0 + 68c0051 commit 07d482c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ subprojects {

ext {
javaVersion = 1.8
shimmerVersion = '0.3.0.SNAPSHOT'
shimmerVersion = '0.3.1'
omhSchemaSdkVersion = '1.0.3'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,10 @@ protected ResponseEntity<ShimDataResponse> getData(OAuth2RestOperations restTemp
today.minusDays(1) : shimDataRequest.getStartDateTime();
long startTimeInEpochSecond = startDateTime.toEpochSecond();

// We are inclusive of the last day, so we need to add an extra day since we are dealing with start of day,
// and would miss the activities that occurred during the last day within going to midnight of that day
OffsetDateTime endDateTime = shimDataRequest.getEndDateTime() == null ?
today.plusDays(1) : shimDataRequest.getEndDateTime();
today.plusDays(1) : shimDataRequest.getEndDateTime().plusDays(1);
long endTimeInEpochSecond = endDateTime.toEpochSecond();

UriComponentsBuilder uriComponentsBuilder =
Expand Down

0 comments on commit 07d482c

Please sign in to comment.