Skip to content

Commit

Permalink
Fixed date
Browse files Browse the repository at this point in the history
  • Loading branch information
danspndl committed Mar 20, 2019
1 parent 4192e52 commit 0ba828c
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 0ba828c

Please sign in to comment.