Commit 9a4ccb2c authored by divyanshu's avatar divyanshu

Format style short to medium

parent fcd8ee4e
...@@ -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.ofPattern("MMM dd, YYYY") val formatter = DateTimeFormatter.ofLocalizedDate(FormatStyle.MEDIUM)
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