test: accept utc timestamp label · openclaw/openclaw@5c39e2d
shakkernerd
·
2026-05-08
·
via Recent Commits to openclaw:main
Commit 5c39e2d
test: accept utc timestamp label
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|
@@ -389,7 +389,7 @@ describe("buildInboundUserContextPrefix", () => {
|
389 | 389 | } as TemplateContext); |
390 | 390 | |
391 | 391 | const conversationInfo = parseConversationInfoPayload(text); |
392 | | -expect(conversationInfo["timestamp"]).toBe("Sun 2026-02-15 13:35 GMT"); |
| 392 | +expect(conversationInfo["timestamp"]).toMatch(/^Sun 2026-02-15 13:35 (?:GMT|UTC)$/); |
393 | 393 | }); |
394 | 394 | |
395 | 395 | it("honors envelope user timezone for conversation timestamps", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
0 commit comments
Comments
(0)