Formatierung der Urhzeit durch substring()
This commit is contained in:
parent
b42038e4c6
commit
22caeb1aad
|
@ -133,7 +133,12 @@
|
|||
<xsl:attribute name="title">
|
||||
<xsl:value-of select="concat('Ort: ', location)"/>
|
||||
<!-- Hier wurde die Zeit ergänzt -->
|
||||
<xsl:value-of select="concat(' 
Zeit: ', date:time(start), ' - ', date:time(end))"/>
|
||||
<xsl:value-of select="concat(' 
Zeit: ', substring(date:time(start),0,6), ' - ', substring(date:time(end),0,6))"/>
|
||||
<!-- beide versuche werfen Fehler, liegts am namespace oder XSL-Version? -->
|
||||
<!--
|
||||
<xsl:value-of select="concat(' 
Zeit: ', date:format-dateTime(start, '[D01]/[M01]/[Y0001]'))"/>
|
||||
<xsl:value-of select="concat(' 
Zeit: ', replace(end, '(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})', '$4:$5'))"/>
|
||||
-->
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<!-- string(a) -->
|
||||
|
|
Loading…
Reference in New Issue