Skip to content

Commit

Permalink
Added migration section for LocalDate/LocalTime/Date enforced format (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Nov 18, 2024
1 parent b023db0 commit 200e537
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ For example, the `DateTime` `2018-06-11 02:46:14` in a time zone of `04:00` will

Use the `LocalDate` type if you do not want the date to be converted to universal time.

## LocalDate, LocalTime, and Date scalars enforce a specific format

- `LocalDate`: `yyyy-MM-dd`
- `LocalTime`: `HH:mm:ss`
- `Date`: `yyyy-MM-dd`

Please ensure that your clients are sending date/time strings in the correct format to avoid errors.

# Deprecations

Things that will continue to function this release, but we encourage you to move away from.

0 comments on commit 200e537

Please sign in to comment.