fix: 按本机时区和可变模板目录收口测试

This commit is contained in:
Wxw-Gu
2026-09-14 17:11:45 +08:00
parent bf78055b69
commit 29c1166eca
5 changed files with 22 additions and 20 deletions
+3
View File
@@ -5,6 +5,9 @@ import {
inferAiSearchTimeRange
} from '../../src/shared/ai-search'
// Keep calendar assertions deterministic while production follows the host timezone.
process.env.TZ = 'Asia/Shanghai'
const NOW = new Date('2026-08-05T12:00:00+08:00')
describe('AI search natural-language time ranges', () => {