Skip to content

Map daterange to NodaTime DateInterval #3973

Description

@roji

NodaTime has a native DateInterval type for representing a range of dates, which is ideal for mapping to PostgreSQL daterange, though we should continue supporting mapping to NpgsqlRange<LocalDate> as well.

This would be a small breaking change, since by default we'd start returning DateInterval instead of NpgsqlRange<LocalDate>.

Activity

  1. added this to the 6.0.0 milestone on Sep 15, 2021
  2. self-assigned this
    on Sep 15, 2021
  3. added a commit that references this issue on Sep 15, 2021
    cd0a46e
  4. added a commit that references this issue on Sep 15, 2021
    99b1717
  5. tsatosw commented on Oct 12, 2022

    @tsatosw
  6. roji commented on Oct 12, 2022

    @roji
    Author
  7. tsatosw commented on Oct 14, 2022

    @tsatosw
  8. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions