Post

Databases have distinct types for datetime, date, time, with and without time zone. Using JS date to move between them is riddled with failure paths. Temporal solves all of it

0 reposts2 likes

It wouldn't be required to polyfill globally. The Temporal implementation could be provided through the constructor to avoid polluting the environment if it's not native to the runtime. Still ideating on this but it's compelling to eliminate all these problems at the type level