Changeset 2914
- Timestamp:
- 05/22/13 04:21:59 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/ISOcat/trunk/mod-ISOcat-interface-rest/representations/atom/DC-history.xsl
r2913 r2914 59 59 </xsl:function> 60 60 61 <xsl:function name="isocat:tzTimestamp"> 62 <xsl:param name="ts"/> 63 <xsl:sequence select="concat(replace(isocat:timestamp($ts),' ','T'),'Z')"/> 64 </xsl:function> 65 61 66 <xsl:template match="change"> 62 67 <atom:entry> … … 85 90 </atom:author> 86 91 <atom:updated> 87 <xsl:value-of select="isocat:t imestamp(@timestamp)"/>92 <xsl:value-of select="isocat:tzTimestamp(@timestamp)"/> 88 93 </atom:updated> 89 94 <atom:content type="text"> … … 103 108 </atom:title> 104 109 <atom:published> 105 <xsl:value-of select="isocat:t imestamp((change)[last()]/@timestamp)"/>110 <xsl:value-of select="isocat:tzTimestamp((change)[last()]/@timestamp)"/> 106 111 </atom:published> 107 112 <xsl:if test="count(change) gt 1"> 108 113 <atom:updated> 109 <xsl:value-of select="isocat:t imestamp((change)[1]/@timestamp)"/>114 <xsl:value-of select="isocat:tzTimestamp((change)[1]/@timestamp)"/> 110 115 </atom:updated> 111 116 </xsl:if>
Note: See TracChangeset
for help on using the changeset viewer.