commit 9ff50328c227bb0e7da13ed7ca540dc770269914
parent 2582a680aee3c039b79f1cb79cfdb3cd5260734b
Author: uriel@soma <unknown>
Date: Sat, 14 Feb 2009 20:34:23 +0000
Fix dates display in blogs.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc
@@ -66,7 +66,7 @@ fn blagh_body {
echo '<div style="text-align:right">(<a href="index.rss">RSS Feed</a>|<a href="index.atom">Atom Feed</a>)</div>'
for(p in `{get_post_list $blagh_root^$blagh_dirs}) {
- l=`{echo -n $p|sed 's!'$sitedir^'/?(.*)([0-9]+/[0-9][0-9]/[0-9][0-9])(/[^/]+/)!\2 /\1\2\3!'}
+ l=`{echo -n $p|sed 's!'$sitedir^'/?(.*)([0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9])(/[^/]+/)!\2 /\1\2\3!'}
sed '1s!.*![&]('^$l(2)^') ('^$l(1)^')!' < $p/index.md
} | $formatter
}