Add time to DiveLog import

I originally thought about converting the time as well, but my fingers
were too slow and memory too short to actually do that :D

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-02-17 21:32:58 +02:00 committed by Dirk Hohndel
parent acff84a58d
commit 4f26240b55

View file

@ -32,6 +32,10 @@
<xsl:value-of select="concat(substring-after(substring-after(substring-before(@DateTime, ' '), '/'), '/'), '-', substring-before(@DateTime, '/'), '-', substring-before(substring-after(@DateTime, '/'), '/'))"/>
</xsl:attribute>
<xsl:attribute name="time">
<xsl:value-of select="substring-after(@DateTime, ' ')"/>
</xsl:attribute>
<xsl:attribute name="duration">
<xsl:call-template name="timeConvert">
<xsl:with-param name="timeSec" select="@Duration"/>