mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Include dive duration on uddf import
Adjust to UDDF 3.2 specification Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									872ee7efab
								
							
						
					
					
						commit
						cb576e49d3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -90,11 +90,11 @@ | |||
|           <xsl:value-of select="dive_number|u:informationbeforedive/u:divenumber"/> | ||||
|         </xsl:attribute> | ||||
|       </xsl:if> | ||||
|       <xsl:if test="dive_duration != '' and dive_duration != 0"> | ||||
|       <xsl:if test="(dive_duration != '' and dive_duration != 0) or (u:informationafterdive/u:diveduration != '' and u:informationafterdive/u:diveduration != 0)"> | ||||
|         <xsl:attribute name="duration"> | ||||
|           <xsl:call-template name="timeConvert"> | ||||
|             <xsl:with-param name="timeSec"> | ||||
|               <xsl:value-of select="dive_duration"/> | ||||
|               <xsl:value-of select="dive_duration|u:informationafterdive/u:diveduration"/> | ||||
|             </xsl:with-param> | ||||
|           </xsl:call-template> | ||||
|         </xsl:attribute> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue