From 6458fe2de26e181178cf47c026ce989eed815dd1 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Mon, 21 Sep 2015 14:44:38 -0700 Subject: pyblog: date-display => date_display, and update posts Looks slightly more professional. --- tools/convert-from-octopress.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/convert-from-octopress.awk') diff --git a/tools/convert-from-octopress.awk b/tools/convert-from-octopress.awk index 43978df3..e8235021 100755 --- a/tools/convert-from-octopress.awk +++ b/tools/convert-from-octopress.awk @@ -33,11 +33,11 @@ # to # # date: 2015-05-03T17:15:49-0700 - # date-display: May 3, 2015 + # date_display: May 3, 2015 # # Requires date from coreutils; BSD date doesn't work. printf "date: %sT%s%s\n", $2, $3, $4 - printf "date-display: " + printf "date_display: " system("date -d "$2" +'%B %_d, %Y'") } else { print -- cgit v1.2.1