Updated Code
This commit is contained in:
@@ -108,4 +108,12 @@ public class DateTimeUtil {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
public static String formatCreatedDate(LocalDateTime createdDate) {
|
||||
|
||||
if (createdDate == null) {
|
||||
return "";
|
||||
}
|
||||
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd/MM/yyyy");
|
||||
return createdDate.format(formatter);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user