Commit 27bec300 authored by Audrey Hamelers's avatar Audrey Hamelers
parent af456808
Pipeline #12983 passed with stages
in 5 minutes and 39 seconds
......@@ -174,7 +174,7 @@ async function createMetadataXML(tmpPath, manuscript) {
el => `<${el}>${pDate.jatsDate[el]}</${el}>`,
)
} else {
moment(pDate.date).format(
dateStr += moment(pDate.date).format(
'[<year>]YYYY[</year>\n<month>]MM[</month>\n<day>]DD[</day>]',
)
}
......
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