mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +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?
|
return unless Mastodon::Feature.wrapstodon_enabled?
|
||||||
|
|
||||||
datetime = Time.now.utc
|
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
|
end
|
||||||
|
|
||||||
def initialize(account, year)
|
def initialize(account, year)
|
||||||
|
|||||||
Reference in New Issue
Block a user