fix: 首页时钟去掉秒(HH:mm:ss → HH:mm)

仅改时钟显示,不动 TTS 逻辑,排查语音问题。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dongliang
2026-05-08 16:07:26 +09:30
parent c42d50f2d6
commit 4b74793bbc

View File

@@ -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) {