Skip to content

Use DateTimeOffset instead of DateTime for GraphQL DateTime scalar #100

Description

@cmeeren

The GraphQL DateTime scalar is, generally, a DateTimeOffset, not a DateTime. Currently, using Snowflaqe to send exact moments in time to the server requires knowing the server's time zone (assuming that the server will interpret any offset-less values as being a local time in the server's time zone).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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