Skip to content

Commit

Permalink
Merge pull request ekalinin#65 from sdaniel55/fix-date
Browse files Browse the repository at this point in the history
Fixed date
  • Loading branch information
ekalinin authored Mar 20, 2019
2 parents 4192e52 + 0ba828c commit c9005b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gh-md-toc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ gh_toc(){
local dt=`date +'%F_%H%M%S'`
local ext=".orig.${dt}"
local toc_path="${gh_src}.toc.${dt}"
local toc_footer="<!-- Added by: `whoami`, at: `date --iso-8601='minutes'` -->"
local toc_footer="<!-- Added by: `whoami`, at: `date` -->"
# http://fahdshariff.blogspot.ru/2012/12/sed-mutli-line-replacement-between-two.html
# clear old TOC
sed -i${ext} "/${ts}/,/${te}/{//!d;}" "$gh_src"
Expand Down

0 comments on commit c9005b3

Please sign in to comment.