You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/src/pages/docs/scalars/date-time.mdx
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,3 +24,8 @@ When expected as an input type, only RFC 3339 compliant date-time strings are ac
24
24
query error indicating an incorrect type.
25
25
26
26
<Callout>Taken from [graphql-iso-date](https://github.com/excitement-engineer/graphql-iso-date)</Callout>
27
+
28
+
<Callout>
29
+
This scalar serializes into [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) and parses into [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date).
30
+
But if you want to get the value serialized into an ISO string, you can use the `DateTimeISO` scalar.
0 commit comments