This is an automated email from the ASF dual-hosted git repository.

myrle pushed a commit to branch develop
in repository 
https://gitbox.apache.org/repos/asf/fineract-cn-deposit-account-management.git

commit 72e80f60e01f6931ef9bfc19c3e15b0bb9890e5b
Author: mgeiss <mge...@mifos.org>
AuthorDate: Wed Oct 18 06:53:47 2017 +0200

    fix date range only use dates
---
 .../deposit/service/internal/command/handler/InterestCalculator.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/service/src/main/java/io/mifos/deposit/service/internal/command/handler/InterestCalculator.java
 
b/service/src/main/java/io/mifos/deposit/service/internal/command/handler/InterestCalculator.java
index 8f8ffd4..f9bd630 100644
--- 
a/service/src/main/java/io/mifos/deposit/service/internal/command/handler/InterestCalculator.java
+++ 
b/service/src/main/java/io/mifos/deposit/service/internal/command/handler/InterestCalculator.java
@@ -278,8 +278,8 @@ public class InterestCalculator {
             final Account account =
                 
this.accountingService.findAccount(productInstanceEntity.getAccountIdentifier());
 
-            final LocalDateTime startDate = 
dividendDistributionCommand.dueDate().plusDays(1).atStartOfDay();
-            final LocalDateTime now = LocalDateTime.now(Clock.systemUTC());
+            final LocalDate startDate = 
dividendDistributionCommand.dueDate().plusDays(1);
+            final LocalDate now = LocalDate.now(Clock.systemUTC());
 
             final String findCurrentEntries = 
DateConverter.toIsoString(startDate) + ".." + DateConverter.toIsoString(now);
             final List<AccountEntry> currentAccountEntries =

-- 
To stop receiving notification emails like this one, please contact
my...@apache.org.

Reply via email to