Commit fcd8ee4e authored by divyanshu's avatar divyanshu

date format changed to "MMM dd, YYYY"

parent 1a11fd89
...@@ -80,7 +80,7 @@ private fun formatLocalDateTime(localDateTime: LocalDateTime): String { ...@@ -80,7 +80,7 @@ private fun formatLocalDateTime(localDateTime: LocalDateTime): String {
} }
private fun formatLocalDate(localDate: LocalDate): String { private fun formatLocalDate(localDate: LocalDate): String {
val formatter = DateTimeFormatter.ofLocalizedDate(FormatStyle.SHORT) val formatter = DateTimeFormatter.ofPattern("MMM dd, YYYY")
return localDate.format(formatter).toString() return localDate.format(formatter).toString()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment