class GitReporting::Report::Group::Year

Public Class Methods

key_for_commit(commit) click to toggle source
# File lib/git_reporting/report/group.rb, line 30
def self.key_for_commit(commit)
  commit.timestamp.beginning_of_year
end