summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6e62747)
The could be different date conversion functions in the future.
<xsl:value-of select="$twitterBaseURL"/><xsl:value-of select=".//a[@class='details with-icn js-details']/@href"/>
</link>
<pubDate>
<xsl:value-of select="$twitterBaseURL"/><xsl:value-of select=".//a[@class='details with-icn js-details']/@href"/>
</link>
<pubDate>
- <xsl:value-of select="php:functionString('formatDate', .//small[@class='time']//span/@data-time)"/>
+ <xsl:value-of select="php:functionString('epoch_to_gmdate', .//small[@class='time']//span/@data-time)"/>
</pubDate>
<description>
<xsl:value-of select="concat($screen-name, ': ')"/>
</pubDate>
<description>
<xsl:value-of select="concat($screen-name, ': ')"/>
date_default_timezone_set('UTC');
date_default_timezone_set('UTC');
-function formatDate($timestamp)
+function epoch_to_gmdate($timestamp)
{
return gmdate('D, d M Y H:i:s', $timestamp) . ' GMT';
}
{
return gmdate('D, d M Y H:i:s', $timestamp) . ' GMT';
}