summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-12-13 22:00:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-13 13:17:53 -0800
commit41e9ec12e2ae533c61c6b68b6861b978d472456e (patch)
tree252aab5df53abf58d7dc85c3c7323244f3af1e44
parent88cf25075f4747df76c1bb072afc9f543d0923f4 (diff)
downloadsubsurface-41e9ec12e2ae533c61c6b68b6861b978d472456e.tar.gz
UDDF import: check following event time
Seems that our UDDF export is adding time after the event name. Thus we need to add reading the following time as well. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--xslt/uddf.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/uddf.xslt b/xslt/uddf.xslt
index 157aa5995..133ae72e4 100644
--- a/xslt/uddf.xslt
+++ b/xslt/uddf.xslt
@@ -371,7 +371,7 @@
<xsl:attribute name="time">
<xsl:call-template name="timeConvert">
<xsl:with-param name="timeSec">
- <xsl:value-of select="preceding-sibling::divetime|preceding-sibling::u:divetime|preceding-sibling::u1:divetime"/>
+ <xsl:value-of select="preceding-sibling::divetime|preceding-sibling::u:divetime|preceding-sibling::u1:divetime|following-sibling::u:divetime"/>
</xsl:with-param>
</xsl:call-template>
</xsl:attribute>