diff --git a/data/templates/article.jats_publishing b/data/templates/article.jats_publishing
index 15d2e3b08..3a3a8f8cf 100644
--- a/data/templates/article.jats_publishing
+++ b/data/templates/article.jats_publishing
@@ -30,10 +30,10 @@ $if(journal.abbrev-title)$
$endif$
$if(journal.pissn)$
-$journal.pissn$
+$journal.pissn$
$endif$
$if(journal.eissn)$
-$journal.eissn$
+$journal.eissn$
$endif$
$-- At least one issn element is required; use empty issn as fallback
$if(journal.pissn)$
@@ -130,7 +130,7 @@ $endif$
$endif$
$if(date)$
-
+
$if(date.day)$
$date.day$
$endif$
diff --git a/doc/jats.md b/doc/jats.md
index 0faea8b06..0e717d0d8 100644
--- a/doc/jats.md
+++ b/doc/jats.md
@@ -173,7 +173,8 @@ Metadata Values
The publication date is recorded in the document via the
[``][elem:pub-date] element and its sub-elements. The
- [`pub-type`][attr:pub-type] attribute is always set to `epub`.
+ [`publication-format`][attr:publication-format] attribute is
+ always set to `electronic`.
`iso-8601`
: ISO-8601 representation of the publication date. Used as the
@@ -300,12 +301,14 @@ Metadata Values
`pissn`
: ISSN identifier of the publication's print version. Used as
content of the [``][elem:issn] element with the
- [`pub-type`][attr:pub-type] attribute set to `ppub`.
+ [`publication-format`][attr:publication-format] attribute
+ set to `print`.
`eissn`
: ISSN identifier of the publication's electronic version.
Used as content of the [``][elem:issn] element with
- the [`pub-type`][attr:pub-type] attribute set to `epub`.
+ the [`publication-format`][attr:publication-format]
+ attribute set to `electronic`.
`publisher-name`
: name of the publishing entity (person, company, or other).
@@ -352,7 +355,7 @@ Required metadata values:
[attr:kwd-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/kwd-group-type.html
[attr:license-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/license-type.html
[attr:pub-id-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/pub-id-type.html
-[attr:pub-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/pub-type.html
+[attr:publication-format]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/publication-format.html
[attr:ref-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/ref-type.html
[attr:rid]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/rid.html
[attr:subj-group-type]: https://jats.nlm.nih.gov/publishing/tag-library/1.2/attribute/subj-group-type.html
diff --git a/test/writer.jats_archiving b/test/writer.jats_archiving
index 2d06c5cab..941f5e87d 100644
--- a/test/writer.jats_archiving
+++ b/test/writer.jats_archiving
@@ -24,7 +24,7 @@
Anonymous
-
+
17
7
2006
diff --git a/test/writer.jats_publishing b/test/writer.jats_publishing
index 915471576..f7d4a4720 100644
--- a/test/writer.jats_publishing
+++ b/test/writer.jats_publishing
@@ -24,7 +24,7 @@
Anonymous
-
+
17
7
2006