From 0ca923124981e3f79fff8f722e1fcae71f14b322 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 18 May 2023 11:20:27 +0300 Subject: [PATCH] Documentation --- website/src/pages/docs/scalars/local-date-time.mdx | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 website/src/pages/docs/scalars/local-date-time.mdx 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