summaryrefslogtreecommitdiffstats
path: root/mdoc_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_action.c')
-rw-r--r--mdoc_action.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index bb58f768..317fa54a 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -904,6 +904,11 @@ post_dd(POST_ARGS)
{
char buf[DATESIZ];
+ if (NULL == n->child) {
+ m->meta.date = time(NULL);
+ return(post_prol(m, n));
+ }
+
if ( ! concat(m, buf, n->child, DATESIZ))
return(0);