Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-09 11:40:29 +01:00
parent c5edd9f13d
commit efe2e3063b

View file

@ -103,7 +103,7 @@ object DateTimeFormatters {
*/
val localFullDate: DateTimeFormatter by lazy {
val locale = Locale.getDefault()
val datePattern = DateFormat.getBestDateTimePattern(locale, "dd MMMM")
val datePattern = DateFormat.getBestDateTimePattern(locale, "d MMMM")
val timeSkeleton = if (is12HourFormat) "h:mm a" else "HH:mm"
val timePattern = DateFormat.getBestDateTimePattern(locale, timeSkeleton)
val fullPattern = "$datePattern, $timePattern"