From d0940c6e00ab8be5c40727daa65a5a1387645ace Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Wed, 25 Apr 2018 17:49:01 -0700
Subject: [PATCH] Ms template:  Fix date.

Previously .ND was used, but this only works if you
have a title page, which we don't.  Thanks to @teoric.
---
 data/templates/default.ms | 5 ++++-
 test/writer.ms            | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/data/templates/default.ms b/data/templates/default.ms
index f4204338a..02bbc626a 100644
--- a/data/templates/default.ms
+++ b/data/templates/default.ms
@@ -90,7 +90,10 @@ $for(author)$
 $author$
 $endfor$
 $if(date)$
-.ND "$date$"
+.AU
+.sp 0.5
+.ft R
+$date$
 $endif$
 $if(abstract)$
 .AB
diff --git a/test/writer.ms b/test/writer.ms
index 33dec71d3..e7ac44bb9 100644
--- a/test/writer.ms
+++ b/test/writer.ms
@@ -67,7 +67,10 @@ Pandoc Test Suite
 John MacFarlane
 .AU
 Anonymous
-.ND "July 17, 2006"
+.AU
+.sp 0.5
+.ft R
+July 17, 2006
 .\" 1 column (use .2C for two column)
 .1C
 .LP