MainActivity: support 24h format

This commit is contained in:
2025-09-15 03:47:13 +02:00
parent 5e1c67d52d
commit e1f48e6524

View File

@@ -345,7 +345,7 @@ class MainActivity : AppCompatActivity() {
logbook?.sort() logbook?.sort()
recyclerView.adapter?.notifyDataSetChanged() recyclerView.adapter?.notifyDataSetChanged()
saveLogbook() saveLogbook()
}, startHour, startMinute, false).show() }, startHour, startMinute, android.text.format.DateFormat.is24HourFormat(this@MainActivity)).show()
}, startYear, startMonth, startDay).show() }, startYear, startMonth, startDay).show()
} }