fix: 首页时钟去掉秒(HH:mm:ss → HH:mm)
仅改时钟显示,不动 TTS 逻辑,排查语音问题。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -367,7 +367,7 @@ class HomeFragment : BaseFragment<FragmentHomeBinding>() {
|
|||||||
/** 更新时钟和日期 */
|
/** 更新时钟和日期 */
|
||||||
private fun updateClock() {
|
private fun updateClock() {
|
||||||
val info = DateUtil.getDateInfo()
|
val info = DateUtil.getDateInfo()
|
||||||
tvClock.text = DateUtil.formatTime()
|
tvClock.text = DateUtil.formatTimeShort()
|
||||||
tvDate.text = "${info.month}月${info.day}日 ${info.week}"
|
tvDate.text = "${info.month}月${info.day}日 ${info.week}"
|
||||||
// 同步更新打卡面板时钟
|
// 同步更新打卡面板时钟
|
||||||
if (punchPanel.isShowing) {
|
if (punchPanel.isShowing) {
|
||||||
|
|||||||
Reference in New Issue
Block a user