Fix incorrect date for Wrapstodon start (#37138)

This commit is contained in:
Echo 2025-12-05 15:12:26 +01:00 committed by GitHub
parent ce22c835ac
commit 007ae588d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)