josehernandezfintecheandomx commented on code in PR #2446:
URL: https://github.com/apache/fineract/pull/2446#discussion_r931359743


##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/DateUtils.java:
##########
@@ -102,6 +104,11 @@ public static LocalDate parseLocalDate(final String 
stringDate, final String pat
         return parseLocalDate(stringDate, pattern, getDateTimeZoneOfTenant());
     }
 
+    public static LocalDateTime convertDateToLocalDateTime(final Date date) {
+        Instant instant = Instant.ofEpochMilli(date.getTime());
+        return LocalDateTime.ofInstant(instant, getDateTimeZoneOfTenant());
+    }
+

Review Comment:
   Done! Removed



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to