Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
add timestamp to ops digest
Browse files Browse the repository at this point in the history
closes #17
  • Loading branch information
geemus committed Jul 8, 2014
1 parent f94b7a5 commit 05480d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion devdigest.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "time"

class Devdigest
def initialize(since, options={})
@since = since
Expand Down Expand Up @@ -158,7 +160,7 @@ def run_pagerduty_digest
end
description ||= "(no description)"
url = incident["html_url"]
add " - [#{description}](#{url})"
add " - [#{description}](#{url}) #{incident["created_on"].iso8601}"
end
end

Expand Down

0 comments on commit 05480d0

Please sign in to comment.