commit ab71856bbe299184c949f020f3fa6bdf7b5080c7
parent d0c31bac241ed8d4cb8769fedae0d059c23c5d3a
Author: uriel@engel.se.cat-v.org <unknown>
Date: Wed, 24 Dec 2008 09:36:52 +0100
Replace stat(1) with mtime(1) (disabled code for now)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/feeds/atom.tpl b/lib/feeds/atom.tpl
@@ -14,7 +14,7 @@ fn statpost {
# 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
+ #mdate=`{/bin/date -Rd `{mtime $f|awk '{print $1}' }} # Not used because it is unreliable
by=$stat(2)
ifs=() { summary=`{cat $f | crop_text 512 ... | $formatter } }
}