Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LocalDateTime scalar? #23

Open
martinbonnin opened this issue Sep 7, 2023 · 0 comments
Open

Add LocalDateTime scalar? #23

martinbonnin opened this issue Sep 7, 2023 · 0 comments

Comments

@martinbonnin
Copy link

Right now we have:

  • DateTime, exact point in time with UTC offset: 2011-08-30T13:22:53.108+03:30
  • LocalDate, a local date without a time-zone: 1983-10-20

But we're missing a way to represent a local date with a time like 2007-12-03T10:15:30

It cannot be represented as a DateTime because the semantics are different. A LocalDateTime point in time might change if some of our governments decide to change timezones.

The specification could be relatively close to the Java LocalDateTime. I can write something up if there's interest.

Prior art:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant