Commit ff1149d16086d135951ef0b47104bbd78348b136:
Add a timestamp to the output
Branch: refs/heads/master
Author: Sebb <[email protected]>
Committer: Sebb <[email protected]>
Pusher: sebb <[email protected]>
------------------------------------------------------------
tools/collate_minutes.rb | ++ -
------------------------------------------------------------
3 changes: 2 additions, 1 deletions.
------------------------------------------------------------
diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index 4b0af03..85db5e3 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -570,10 +570,11 @@ def layout(title = nil)
$calendar.at('title').content = "Board Meeting Minutes"
# $calendar.at('h2').content = "Board Meeting Minutes"
end
+ stamp = DateTime.now.strftime '%Y-%m-%d %H:%M'
section = $calendar.at('.container p strong').parent.parent
paragraphs = section.search('p')
paragraphs.first.children.last.content =
- paragraphs.first.children.last.content.sub 'is a', 'is extracted from a'
+ paragraphs.first.children.last.content.sub 'is a', "was extracted (@
#{stamp}) from a"
section.children.each {|child| child.remove}
section.add_child paragraphs[0]