Skip to content

Commit

Permalink
Merge pull request #174 from devopsdays/bridget-new-event-setup
Browse files Browse the repository at this point in the history
Too many colons, and timezone weirdness in go
  • Loading branch information
mattstratton committed May 2, 2016
2 parents d16793a + 05dbe7c commit 013320f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_new_event.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cp -r content/events/sample-event content/events/$event_slug
sed -i '' '/draft = true/d' content/events/$event_slug/*

# setting the creation date at the time the event is instantiated
datestamp=$(date +%Y-%m-%dT:%H:%M:%S:%z)
datestamp=$(date +%Y-%m-%dT%H:%M:%S%z | sed 's/^\(.\{22\}\)/\1:/')
sed -i '' "s/2000-01-01T01:01:01-06:00/$datestamp/" content/events/$event_slug/*

sed -i '' "s/YYYY-city/$event_slug/" content/events/$event_slug/welcome.md
Expand Down

0 comments on commit 013320f

Please sign in to comment.