mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-12 23:38:20 +00:00
Fix incorrect date for Wrapstodon start (#37138)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user