summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--kolam/graphql.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolam/graphql.scm b/kolam/graphql.scm
index 24d0972..99105d7 100644
--- a/kolam/graphql.scm
+++ b/kolam/graphql.scm
@@ -36,7 +36,7 @@
             <string>
             <boolean>
             <id>
-            <date>))
+            <datetime>))
 
 (define-record-type <schema>
   (make-schema query mutation)
@@ -87,7 +87,7 @@
 (define-scalar-type <string> string? identity)
 (define-scalar-type <boolean> boolean? identity)
 (define-scalar-type <id> string? identity)
-(define-scalar-type <date> date? (cut date->string <> "~4"))
+(define-scalar-type <datetime> date? (cut date->string <> "~4"))
 
 (define-record-type <non-nullable-type>
   (non-nullable-type subtype)