mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-06 13:54:10 +08:00
fix: 按本机时区和可变模板目录收口测试
This commit is contained in:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user