aboutsummaryrefslogtreecommitdiff
path: root/tools/convert-from-octopress.awk
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-09-21 14:44:38 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-09-21 14:44:38 -0700
commit6458fe2de26e181178cf47c026ce989eed815dd1 (patch)
tree81198e09d2504d2aeaecbb4b065ecd958b801957 /tools/convert-from-octopress.awk
parent61f9afbdfb6209a98eabdfff1285bce87654ec2e (diff)
downloadmy_new_personal_website-6458fe2de26e181178cf47c026ce989eed815dd1.tar.xz
my_new_personal_website-6458fe2de26e181178cf47c026ce989eed815dd1.zip
pyblog: date-display => date_display, and update posts
Looks slightly more professional.
Diffstat (limited to 'tools/convert-from-octopress.awk')
-rwxr-xr-xtools/convert-from-octopress.awk4
1 files changed, 2 insertions, 2 deletions
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