Expand compare by datetime output

Include the commit and datetime for the revisions that were compared.
This commit is contained in:
Christopher Baines 2019-11-21 20:50:54 +00:00
parent 152910ec9c
commit 5fc23d788d

View file

@ -327,7 +327,14 @@
mime-types) mime-types)
((application/json) ((application/json)
(render-json (render-json
`((channel-news . ,(list->vector `((revisions
. ((base
. ((commit . ,(second base-revision-details))
(datetime . ,(fifth base-revision-details))))
(target
. ((commit . ,(second target-revision-details))
(datetime . ,(fifth target-revision-details))))))
(channel-news . ,(list->vector
(map (map
(match-lambda (match-lambda
((commit tag title_text body_text change) ((commit tag title_text body_text change)