mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
acff84a58d
commit
4f26240b55
1 changed files with 4 additions and 0 deletions
|
@ -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"/>
|
||||
|
|
Loading…
Add table
Reference in a new issue