aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Input.hs
diff options
context:
space:
mode:
authorpacien2020-01-06 11:05:18 +0100
committerpacien2020-01-06 11:05:18 +0100
commitf1ffff03ad6bf86c32c3af90393bd53ca21ad4db (patch)
treeefbd39895ded4d48fdc86d4fa932a15afb943e64 /compiler/src/Input.hs
parent03d39102ba55cda7cbe80fcdeb9b250caaa70bd0 (diff)
downloadldgallery-f1ffff03ad6bf86c32c3af90393bd53ca21ad4db.tar.gz
compiler: rename date field to more explicit datetime
Diffstat (limited to 'compiler/src/Input.hs')
-rw-r--r--compiler/src/Input.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/src/Input.hs b/compiler/src/Input.hs
index 85c802e..95d8132 100644
--- a/compiler/src/Input.hs
+++ b/compiler/src/Input.hs
@@ -61,7 +61,7 @@ data InputTree =
61 61
62data Sidecar = Sidecar 62data Sidecar = Sidecar
63 { title :: Maybe String 63 { title :: Maybe String
64 , date :: Maybe ZonedTime 64 , datetime :: Maybe ZonedTime
65 , description :: Maybe String 65 , description :: Maybe String
66 , tags :: Maybe [String] 66 , tags :: Maybe [String]
67 } deriving (Generic, FromJSON, Show) 67 } deriving (Generic, FromJSON, Show)
@@ -69,7 +69,7 @@ data Sidecar = Sidecar
69emptySidecar :: Sidecar 69emptySidecar :: Sidecar
70emptySidecar = Sidecar 70emptySidecar = Sidecar
71 { title = Nothing 71 { title = Nothing
72 , date = Nothing 72 , datetime = Nothing
73 , description = Nothing 73 , description = Nothing
74 , tags = Nothing } 74 , tags = Nothing }
75 75