You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by my...@apache.org on 2018/01/22 15:49:39 UTC
[fineract-cn-deposit-account-management] 17/26: fix date range only
use dates
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 <mg...@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
myrle@apache.org.