aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 28a32bb..3d71ebc 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -616,8 +616,10 @@ main = do
\I.Provenance {first} ->
( keyword "by" <+> value (first.author.name <> " <" <> first.author.email <> ">")
)
- date' = fromProvenance $
+ createdAt = fromProvenance $
\I.Provenance {first} -> keyword "on" <+> value (show (utctDay first.date))
+ modifiedAt = fromProvenance $
+ \I.Provenance {last = last'} -> keyword "modified" <+> value (show (utctDay last'.date))
fromProvenanceDef def = flip (maybe def) issue.provenance
fromProvenance = flip fmap issue.provenance
@@ -630,7 +632,8 @@ main = do
Just fileAndRow,
Just commit,
author,
- date'
+ createdAt,
+ modifiedAt
]
)
issues