fix: 收口发布候选版本的时间和配置问题

This commit is contained in:
Wxw-Gu
2026-09-14 16:58:53 +08:00
parent 550e3b104c
commit bf78055b69
6 changed files with 35 additions and 51 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ describe('AI search natural-language time ranges', () => {
})
expect(inferAiSearchTimeRange('我和张三今年聊了什么?', 'all', NOW)).toMatchObject({
label: '今年',
startTime: Math.floor(new Date(2026, 0, 1).getTime() / 1000)
startTime: Math.floor(new Date('2026-01-01T00:00:00+08:00').getTime() / 1000)
})
})
+1
View File
@@ -9,6 +9,7 @@ describe('settings navigation', () => {
const intelligent = SETTINGS_NAVIGATION.find((group) => group.label === '智能能力')
expect(intelligent?.items.map((item) => item.id)).toEqual([
'wechat-send',
'wechat-action-logs',
'voice-recognition',
'text-to-speech',
'ai-model'