corrected conditions for time
This commit is contained in:
parent
54915e0d14
commit
595a472fe5
|
@ -134,11 +134,11 @@
|
|||
<xsl:value-of select="concat('Ort: ', location)"/>
|
||||
<xsl:if test="string-length(date:time(start)) > 0 or string-length(date:time(end)) > 0">
|
||||
<xsl:value-of select="concat('
', 'Zeit:')" disable-output-escaping="yes"/>
|
||||
<xsl:if test="string-length(date:time(start)) > 0">
|
||||
<xsl:value-of select="concat(' ab ', substring(date:time(start),0,6))"/>
|
||||
<xsl:if test="string-length(date:time(start)) > 0 and substring(date:time(start),1,5) != ''">
|
||||
<xsl:value-of select="concat(' ab ', substring(date:time(start),1,5))"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="string-length(date:time(end)) > 0 and date:time(end) > date:time(start)">
|
||||
<xsl:value-of select="concat(' bis ', substring(date:time(end),0,6))"/>
|
||||
<xsl:if test="string-length(date:time(end)) > 0 and substring(date:time(end),1,5) != '' and substring(date:time(end),1,5) != substring(date:time(start),1,5)">
|
||||
<xsl:value-of select="concat(' bis ', substring(date:time(end),1,5))"/>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
</xsl:attribute>
|
||||
|
|
Loading…
Reference in New Issue