diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-09-21 14:44:38 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-09-21 14:44:38 -0700 |
commit | 6458fe2de26e181178cf47c026ce989eed815dd1 (patch) | |
tree | 81198e09d2504d2aeaecbb4b065ecd958b801957 /tools | |
parent | 61f9afbdfb6209a98eabdfff1285bce87654ec2e (diff) | |
download | my_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')
-rwxr-xr-x | tools/convert-from-octopress.awk | 4 |
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 |