aboutsummaryrefslogtreecommitdiff
path: root/data/templates/default.jats
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/default.jats')
-rw-r--r--data/templates/default.jats16
1 files changed, 4 insertions, 12 deletions
diff --git a/data/templates/default.jats b/data/templates/default.jats
index 966da5c29..5fd3590a5 100644
--- a/data/templates/default.jats
+++ b/data/templates/default.jats
@@ -120,22 +120,14 @@ $endif$
</author-notes>
$endif$
$if(date)$
-$if(date.iso-8601)$
-<pub-date pub-type="epub" iso-8601-date="$date.iso-8601$">
-$else$
-<pub-date pub-type="epub">
-$endif$
+<pub-date pub-type="epub"$if(date.iso-8601)$ iso-8601-date="$date.iso-8601$"$endif$>
$if(date.day)$
-<day>$pub-date.day$</day>
+<day>$date.day$</day>
$endif$
$if(date.month)$
-<month>$pub-date.month$</month>
-$endif$
-$if(date.year)$
-<year>$pub-date.year$</year>
-$else$
-<string-date>$date$</string-date>
+<month>$date.month$</month>
$endif$
+<year>$date.year$</year>
</pub-date>
$endif$
$if(article.volume)$