lib/onebox/engine/github_pullrequest_onebox.rb in onebox-1.9.17 vs lib/onebox/engine/github_pullrequest_onebox.rb in onebox-1.9.18
- old
+ new
@@ -21,10 +21,10 @@
end
def data
result = raw.clone
result['link'] = link
-
+
created_at = Time.parse(result['created_at'])
result['created_at'] = created_at.strftime("%I:%M%p - %d %b %y %Z")
result['created_at_date'] = created_at.strftime("%F")
result['created_at_time'] = created_at.strftime("%T")