Mercurial > dive4elements > river
diff artifacts/doc/conf/meta-data.xml @ 8598:af840bf7f05a
(issue1051) Fix recommended official epochs for period mode
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 19 Mar 2015 16:50:24 +0100 |
parents | 5fe6e33666d4 |
children | cc1f59766e49 |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Thu Mar 19 16:28:40 2015 +0100 +++ b/artifacts/doc/conf/meta-data.xml Thu Mar 19 16:50:24 2015 +0100 @@ -3077,6 +3077,12 @@ <dc:variable name="end" type="number" expr="dc:max-number(dc:find-all('\d{4}', $epochs))"/> </dc:if> + <dc:if test="string-length(dc:get('years')) > 0"> + <dc:variable name="start" type="number" + expr="dc:min-number(dc:find-all('\d{4}', $years))"/> + <dc:variable name="end" type="number" + expr="dc:max-number(dc:find-all('\d{4}', $years))"/> + </dc:if> <dc:filter expr="$kind = 'official' and $sqid = $sq_time_id and not(number($end) <