Commit 92d5f8ec authored by Maxime Chaillet's avatar Maxime Chaillet

display only the year in the citation instead of the complete date the DOI was minted.

parent 5d7a48d0
This diff is collapsed.
......@@ -192,7 +192,7 @@ function createCitation(data) {
var citation = authorString +
'. (' +
data.date_registered +
new Date(data.date_registered).getFullYear() +
'). ' +
data.title +
'. ' +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment