Merge pull request #1737 from jgslade/dev
Fix for Wear OS DigitalStyle watchface time is missing minutes #1726
This commit is contained in:
commit
f2be9741cd
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue