diff --git a/apps/blagh/atom.tpl b/apps/blagh/atom.tpl index f9f78c7..e71cfbc 100644 --- a/apps/blagh/atom.tpl +++ b/apps/blagh/atom.tpl @@ -11,7 +11,7 @@ fn statpost { ifs=() { summary=`{cat $f/index.md | strip_title_from_md_file | ifs=$difs {$formatter} } } } # rfc3339 date when feed was last updated. -fupdated = `{ndate -t `{date `{mtime `{ls $blagh_root$blagh_dirs | grep -e '^'$blagh_root$blagh_dirs'\/[0-9][0-9][0-9][0-9]$' | tail -1} | awk '{print $1}'}}} +fupdated = `{ndate -a `{date `{mtime `{ls $blagh_root$blagh_dirs | grep -e '^'$blagh_root$blagh_dirs'\/[0-9][0-9][0-9][0-9]$' | tail -1} | awk '{print $1}'}}} %} % # rfc3339 date when entry was last updated. -% eupdated=`{ndate -t `{date `{mtime $f | awk '{print $1}'}}} +% eupdated=`{ndate -a `{date `{mtime $f | awk '{print $1}'}}} %($eupdated%) diff --git a/apps/blagh/rss20.tpl b/apps/blagh/rss20.tpl index 324d4bf..95b2d2f 100644 --- a/apps/blagh/rss20.tpl +++ b/apps/blagh/rss20.tpl @@ -22,10 +22,10 @@ fn statpost { %{ # uriel99+rss@gmail.com (Uriel) - # rfc822 last time channel content changed. + # rfc2822 last time channel content changed. lbd=`{ndate -m `{date `{mtime `{ls $blagh_root$blagh_dirs | grep -e '^'$blagh_root$blagh_dirs'\/[0-9][0-9][0-9][0-9]$' | tail -1} | awk '{print $1}'}}} echo ''$"lbd'' - # rfc822 publication date for content in the channel. + # rfc2822 publication date for content in the channel. pubdate=`{ndate -m} for(f in `{get_post_list $blagh_root$blagh_dirs}){ statpost $f