diff --git a/website/src/pages/docs/scalars/local-date-time.mdx b/website/src/pages/docs/scalars/local-date-time.mdx new file mode 100644 index 000000000..f1616ce6f --- /dev/null +++ b/website/src/pages/docs/scalars/local-date-time.mdx @@ -0,0 +1,4 @@ +# LocalDateTime + +A local date-time string (i.e., with no associated timezone) in `YYYY-MM-DDTHH:mm:ss` format, e.g. `2020-01-01T00:00:00`. +The value is serialized and deserialized as a string as a signal to both clients and resolvers that special care must be taken with the value when converting it to any date/time type that includes a timezone, e.g., a JavaScript `Date`. \ No newline at end of file