From 615cbd2a08fbf397b0bfc500eb3265baa6cc8a8d Mon Sep 17 00:00:00 2001 From: Rosie Val Date: Sat, 8 Aug 2026 00:27:50 -0400 Subject: [PATCH] BetterTimestamps: Intercept toString for string-coerced timestamps --- plugins/better-timestamps/src/patches/rowManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/better-timestamps/src/patches/rowManager.ts b/plugins/better-timestamps/src/patches/rowManager.ts index a8868f7..7555dc5 100644 --- a/plugins/better-timestamps/src/patches/rowManager.ts +++ b/plugins/better-timestamps/src/patches/rowManager.ts @@ -10,7 +10,7 @@ function wrapTimestamp(original: any): any { if (typeof Proxy === "undefined") return getFormatted(); return new Proxy(original, { get(target, prop) { - if (prop === "format" || prop === "calendar" || prop === "fromNow" || prop === "toISOString") { + if (prop === "format" || prop === "calendar" || prop === "fromNow" || prop === "toISOString" || prop === "toString") { return getFormatted; } const value = target[prop];