Skip to content

Migrating towards Temporal.Duration #55

Description

@louisboulagnon

Hello, thank you for your work on this project,

With the standardization of the Temporal API and its inclusion in node 26, would it be worth considering parsing interval results as a Temporal.Duration when available ?

Thankfully, PostgresInterval has a very close shape to Duration, so downstream migration shouldn't be too complicated, but I think using the standard type directly would be useful for interoperability without having to transform the output

There would need to be some coordination with node-postgres for param parsing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions