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.
This commit is contained in:
Peter Eisentraut 2013-06-21 22:48:06 -04:00
parent b3b2ea4ad7
commit 0b5a5c8e05

View File

@ -1,5 +1,7 @@
<!-- doc/src/sgml/legal.sgml -->
<date>2013</date>
<copyright>
<year>1996-2013</year>
<holder>The PostgreSQL Global Development Group</holder>