component all the champ
This commit is contained in:
parent
a98aa079e2
commit
a3e8c09e71
121 changed files with 554 additions and 292 deletions
|
@ -82,12 +82,4 @@ module ChampHelper
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
def datetime_start_year(date)
|
||||
if date == nil || date.year == 0 || date.year >= Date.today.year - 1
|
||||
Date.today.year - 1
|
||||
else
|
||||
date.year
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue