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 <[email protected]>
---
 xslt/DiveLog.xslt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/xslt/DiveLog.xslt b/xslt/DiveLog.xslt
index 579e177..66a3fd0 100644
--- a/xslt/DiveLog.xslt
+++ b/xslt/DiveLog.xslt
@@ -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"/>
-- 
2.1.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to