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
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class DateUtil @Inject constructor(private val context: Context) {
|
||||||
|
|
||||||
fun hourString(): String = hourString(now())
|
fun hourString(): String = hourString(now())
|
||||||
fun hourString(mills: Long): String {
|
fun hourString(mills: Long): String {
|
||||||
var format = "hha"
|
var format = "hh"
|
||||||
if (android.text.format.DateFormat.is24HourFormat(context)) {
|
if (android.text.format.DateFormat.is24HourFormat(context)) {
|
||||||
format = "HH"
|
format = "HH"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue