From dab1603e5238d3abce9f7a3a7b9450888cc07c70 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Fri, 21 Jun 2013 22:48:06 -0400
Subject: [PATCH] doc: Fix date in EPUB manifest

If there is no <date> element, the publication date for the EPUB
manifest is taken from the copyright year.  But something like
"1996-2013" is not a legal date specification.  So the EPUB output
currently fails epubcheck.

Put in a separate <date> element with the current year.  Put it in
legal.sgml, because copyright.pl already instructs to update that
manually, so it hopefully won't be missed.
---
 doc/src/sgml/legal.sgml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/src/sgml/legal.sgml b/doc/src/sgml/legal.sgml
index 1c40ec47ee3..0562eb57030 100644
--- a/doc/src/sgml/legal.sgml
+++ b/doc/src/sgml/legal.sgml
@@ -1,5 +1,7 @@
 <!-- doc/src/sgml/legal.sgml -->
 
+<date>2013</date>
+
 <copyright>
  <year>1996-2013</year>
  <holder>The PostgreSQL Global Development Group</holder>
-- 
GitLab