diff --git a/apps/blagh/app.rc b/apps/blagh/app.rc
index 33f7123..60c4678 100644
--- a/apps/blagh/app.rc
+++ b/apps/blagh/app.rc
@@ -26,7 +26,7 @@ fn blagh_init {
if(check_user $conf_blog_editors) {
editor_mode=on
if(~ $"post_arg_date '')
- post_date=`{date -i|sed 's,-,/,g'} # date -i is 9front/9base only
+ post_date=`{datei|sed 's,-,/,g'}
if not
post_date=$post_arg_date
ll_add handlers_bar_left echo 'Make a new post'
diff --git a/apps/blagh/atom.tpl b/apps/blagh/atom.tpl
index ec9c862..4dc5c6f 100644
--- a/apps/blagh/atom.tpl
+++ b/apps/blagh/atom.tpl
@@ -5,7 +5,7 @@
fn statpost {
f = $1
- updated = `{date -t `{mtime $f | awk '{print $1}'}} # date -t is 9front/9base only
+ updated = `{datet `{mtime $f | awk '{print $1}'}}
post_uri=$base_url^`{cleanname `{echo $f | sed -e 's!^'$sitedir'!!'}}^'/'
title=`{read $f/index.md}
# Not used: date=`{/bin/date -Rd `{basename $f |sed 's/(^[0-9\-]*).*/\1/; s/-[0-9]$//'}}
@@ -16,7 +16,7 @@ fn statpost {
#ifs=() { summary=`{cat $f/index.md | crop_text 1024 ... | $formatter } }
ifs=() { summary=`{cat $f/index.md | strip_title_from_md_file | ifs=$difs {$formatter} } }
}
-updated = `{date -t} # date -t is 9front/9base only
+updated = `{datet}
%}