Fix incorrect date for Wrapstodon start (#37138)
This commit is contained in:
parent
ce22c835ac
commit
007ae588d8
@ -20,7 +20,7 @@ class AnnualReport
|
||||
return unless Mastodon::Feature.wrapstodon_enabled?
|
||||
|
||||
datetime = Time.now.utc
|
||||
datetime.year if datetime.month == 12 && (1..31).cover?(datetime.day)
|
||||
datetime.year if datetime.month == 12 && (10..31).cover?(datetime.day)
|
||||
end
|
||||
|
||||
def initialize(account, year)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user