Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
8597:ba2a34a4e440 | 8598:af840bf7f05a |
---|---|
3075 <dc:variable name="start" type="number" | 3075 <dc:variable name="start" type="number" |
3076 expr="dc:min-number(dc:find-all('\d{4}', $epochs))"/> | 3076 expr="dc:min-number(dc:find-all('\d{4}', $epochs))"/> |
3077 <dc:variable name="end" type="number" | 3077 <dc:variable name="end" type="number" |
3078 expr="dc:max-number(dc:find-all('\d{4}', $epochs))"/> | 3078 expr="dc:max-number(dc:find-all('\d{4}', $epochs))"/> |
3079 </dc:if> | 3079 </dc:if> |
3080 <dc:if test="string-length(dc:get('years')) > 0"> | |
3081 <dc:variable name="start" type="number" | |
3082 expr="dc:min-number(dc:find-all('\d{4}', $years))"/> | |
3083 <dc:variable name="end" type="number" | |
3084 expr="dc:max-number(dc:find-all('\d{4}', $years))"/> | |
3085 </dc:if> | |
3080 <dc:filter expr="$kind = 'official' and | 3086 <dc:filter expr="$kind = 'official' and |
3081 $sqid = $sq_time_id and | 3087 $sqid = $sq_time_id and |
3082 not(number($end) < | 3088 not(number($end) < |
3083 number(dc:date-format('yyyy', $startyear)) | 3089 number(dc:date-format('yyyy', $startyear)) |
3084 or number($start) > | 3090 or number($start) > |