Add timezone to blog posts date, thanks to dho for the original patch.

Used the opportunity to provide the current date/time info in $current_date_time for any other similar uses.
This commit is contained in:
Uriel 2008-12-20 22:36:25 +01:00
parent f6874376c1
commit c10a7b7db1
2 changed files with 2 additions and 1 deletions

View file

@ -254,7 +254,7 @@ fn gen_blog_post_title {
}
if not if(~ $#blogDirs 1)
by='By '$du(4)
echo '##<a href="'^$"permlink^'">' $"title^'</a> *( '$by Last mod: $du(7 8 9) ' )*'
echo '##<a href="'^$"permlink^'">' $"title^'</a> *( '$by Last mod: $du(7 8 9) $current_date_time(5) ' )*'
}