lib/onebox/engine/github_commit_onebox.rb in onebox-1.8.63 vs lib/onebox/engine/github_commit_onebox.rb in onebox-1.8.64

- old
+ new

@@ -38,10 +38,10 @@ result['message'] << "..." if message_words.length > max_words result['message'] = result['message'].gsub("<br>", "\n") end ulink = URI(link) - result['commit_date'] = Time.parse(result['commit']['author']['date']).strftime("%I:%M%p - %d %b %y") + result['commit_date'] = Time.parse(result['commit']['author']['date']).strftime("%I:%M%p - %d %b %y %Z") result['domain'] = "#{ulink.host}/#{ulink.path.split('/')[1]}/#{ulink.path.split('/')[2]}" result end end end