休息纯计时解耦滑动;重复任务按周期自动生成;统计数字去空格
This commit is contained in:
@@ -120,7 +120,7 @@ object Dates {
|
||||
if (minutes < 60) return "${minutes}m"
|
||||
val h = minutes / 60
|
||||
val m = minutes % 60
|
||||
return if (m == 0) "${h}h" else "${h}h ${m}m"
|
||||
return if (m == 0) "${h}h" else "${h}h${m}m"
|
||||
}
|
||||
|
||||
/** 图表坐标轴用的短格式:2h / 45m */
|
||||
|
||||
Reference in New Issue
Block a user