Closed lionel-rowe closed 1 year ago
Deno.customInspect is not currently supported, which causes logging of Temporal objects in Deno to be pretty unhelpful. Before:
Deno.customInspect
Temporal
console.log(Temporal.Now.instant()) // Temporal.Instant {}
This PR adds support for this in the same way as nodejs.util.inspect.custom is supported for Node. After:
nodejs.util.inspect.custom
console.log(Temporal.Now.instant()) // Temporal.Instant <2023-02-28T12:00:20.232618577Z>
Deno.customInspect
is not currently supported, which causes logging ofTemporal
objects in Deno to be pretty unhelpful. Before:This PR adds support for this in the same way as
nodejs.util.inspect.custom
is supported for Node. After: