fix for AM/PM being part of the hourString

This commit is contained in:
jgslade 2022-05-15 08:24:55 -06:00
parent ff46cbf195
commit aa7be62339

View file

@ -151,7 +151,7 @@ class DateUtil @Inject constructor(private val context: Context) {
fun hourString(): String = hourString(now())
fun hourString(mills: Long): String {
var format = "hha"
var format = "hh"
if (android.text.format.DateFormat.is24HourFormat(context)) {
format = "HH"
}