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

This commit is contained in:
Wxw-Gu committed 2026-09-14 17:11:45 +08:00
1 parent bf78055b69
commit 29c1166eca
5 files changed
+22 -20

No files matched your search

+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', () => {