Fix incorrect date for Wrapstodon start (#37138)

This commit is contained in:
Echo authored and GitHub committed 2025-12-05 14:12:26 +00:00
1 parent ce22c835ac
commit 007ae588d8
1 file changed
+1 -1
+1 -1
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)