awasum commented on a change in pull request #1113:
URL: https://github.com/apache/fineract/pull/1113#discussion_r449774704



##########
File path: 
fineract-provider/src/main/java/org/apache/fineract/accounting/provisioning/service/ProvisioningEntriesReadPlatformServiceImpl.java
##########
@@ -349,5 +349,37 @@ public String schema() {
         return 
this.loanProductProvisioningEntryDataPaginationHelper.fetchPage(this.jdbcTemplate,
 sqlCountRows, sqlBuilder.toString(),
                 whereClauseItemsitems, mapper);
     }
+    @Override
+       public Page<ProvisioningEntryData> 
retrieveAllProvisioningEntriesByDate(Integer offset, Integer limit,
+                       String filterDate) {
+               Date filterdate = null;
+               if (filterDate != null) {
+                       try {
+                               SimpleDateFormat format = new 
SimpleDateFormat("dd MMMM yyyy", Locale.ENGLISH);

Review comment:
       Using Locale.ENGLISH? What if the user sent a different language? I 
think there is a locale param been sent on almost all request in 
Fineract..Maybe use that? 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to