1.轨迹选择开始时间弹窗,等一分钟以上点OK,会出现开始时间晚于结束时间bug
2. 隐藏【Notifications Setting】运动信息通知开关 3.修复进入"LED Light"界面,蓝牙已连接,LED关闭状态,选择其中一个模式,LED开关跟随切换为开,但此时设备LED并没有开
This commit is contained in:
@@ -134,7 +134,7 @@ class Utils {
|
||||
val period = Period.between(LocalDate.parse(startDate), LocalDate.parse(endDate))
|
||||
result[0] = "${period.years}"
|
||||
result[1] = "${period.months}"
|
||||
result[2] = "${period.days}"
|
||||
result[2] = "${if(period.days<0) 0 else period.days}"
|
||||
} else {
|
||||
val dfs = SimpleDateFormat(DATE_FORMAT_PATTERN_CN, Locale.getDefault())
|
||||
val sDate = dfs.parse(startDate)!!
|
||||
@@ -162,7 +162,7 @@ class Utils {
|
||||
}
|
||||
result[0] = "$years"
|
||||
result[1] = "$months"
|
||||
result[2] = "$days"
|
||||
result[2] = "${if(days<0) 0 else days}"
|
||||
}
|
||||
return result
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user