From 2928632eba1ea6185045911207a6eac0ce4cbc6c Mon Sep 17 00:00:00 2001 From: Uriel Date: Sun, 21 Dec 2008 09:37:14 +0100 Subject: [PATCH] Comment out unused line. --- lib/feeds/atom.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/feeds/atom.tpl b/lib/feeds/atom.tpl index caf9ac1..8d092b5 100644 --- a/lib/feeds/atom.tpl +++ b/lib/feeds/atom.tpl @@ -11,7 +11,7 @@ fn statpost { # XXX $post_uri is broken produces output that includes full file path (eg., /gsoc/www/...) post_uri=$baseuri^`{cleanname `{echo $f | sed -e 's,^'$sitedir',,' -e 's/\.(md|tpl)$//g'}} title=`{basename $f | sed 's/^[0-9\-]*_(.*)\.md$/\1/; s/_/ /g' } - date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}} + # Not used: date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}} # TODO: use mtime(1) and ls(1) instead of lunix's stat(1) stat=`{stat -c '%Y %U' $f} #mdate=`{/bin/date -Rd $stat(1)} # Not used because it is unreliable