mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
that does not sound like ruby!
This commit is contained in:
parent
de835f5d86
commit
224c919c2d
1 changed files with 1 additions and 1 deletions
2
app/jobs/cache/setup_social_proof_job.rb
vendored
2
app/jobs/cache/setup_social_proof_job.rb
vendored
|
|
@ -10,7 +10,7 @@ class Cache::SetupSocialProofJob < Cache::ActivityJob
|
|||
check_social_proof(1.day, 5, "today") ||
|
||||
check_social_proof(1.week, 5, "in the past week") ||
|
||||
check_social_proof(1.month, 5, "in the past month") ||
|
||||
check_social_proof(Time.current.beginning_of_year, 5, "this year")
|
||||
check_social_proof(1.year, 5, "in the past year")
|
||||
end
|
||||
|
||||
def check_social_proof(time_period, threshold, humanized_time_period)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue