aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/dailyrss.html
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2016-02-17 22:46:50 +0100
committerVirtualTam <virtualtam@flibidi.net>2016-02-17 22:46:50 +0100
commit205a42778dff04f1552e34ac2b7ade9e407ab1a0 (patch)
treefd21ec30198e1da936c4923f24a037369da811bb /tpl/dailyrss.html
parentbfec695df1205864b46ca7175e1598b184602687 (diff)
downloadShaarli-205a42778dff04f1552e34ac2b7ade9e407ab1a0.tar.gz
Shaarli-205a42778dff04f1552e34ac2b7ade9e407ab1a0.tar.zst
Shaarli-205a42778dff04f1552e34ac2b7ade9e407ab1a0.zip
cleanup: use DateTime to format dates
Closes #270 Modifications: - replace custom date parsing by DateTime calls - use proper date formatting for RSS feeds Deletions: - linkdate2timestamp() - linkdate2rfc822 - linkdate2iso8601 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'tpl/dailyrss.html')
-rw-r--r--tpl/dailyrss.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/dailyrss.html b/tpl/dailyrss.html
index d959d6be..4133ca3e 100644
--- a/tpl/dailyrss.html
+++ b/tpl/dailyrss.html
@@ -2,7 +2,7 @@
2 <title>{$title} - {function="strftime('%A %e %B %Y', $daydate)"}</title> 2 <title>{$title} - {function="strftime('%A %e %B %Y', $daydate)"}</title>
3 <guid>{$absurl}</guid> 3 <guid>{$absurl}</guid>
4 <link>{$absurl}</link> 4 <link>{$absurl}</link>
5 <pubDate>{$rfc822date}</pubDate> 5 <pubDate>{$rssdate}</pubDate>
6 <description><![CDATA[ 6 <description><![CDATA[
7 {loop="links"} 7 {loop="links"}
8 <h3><a href="{$value.url}">{$value.title}</a></h3> 8 <h3><a href="{$value.url}">{$value.title}</a></h3>
@@ -13,4 +13,4 @@
13 <br><br><hr> 13 <br><br><hr>
14 {/loop} 14 {/loop}
15 ]]></description> 15 ]]></description>
16</item> \ No newline at end of file 16</item>