From 5bbaedac57d656d3f38a574763b2ab5451a20158 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 11 Jun 2019 17:01:36 -0700 Subject: JATS writer: ensure validity of pub-date. We try to parse the date and convert to year, month, day, as expected in pub-date. We also add an iso-8601-date attribute if possible. --- test/writer.jats | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/writer.jats b/test/writer.jats index ba5736cdd..7bbf8304d 100644 --- a/test/writer.jats +++ b/test/writer.jats @@ -22,8 +22,10 @@ Anonymous - -July 17, 2006 + +17 +7 +2006 -- cgit v1.2.3