Merge commit '3bf896c973404261f4f7b25c25ea22adb1a85e7d' into glitch-soc/main

Conflicts:
- `package.json`:
  Upstream removed a dependency textually close to a glitch-only dependency.
  Updated as upstream while keeping our dependency.
This commit is contained in:
Claire
2023-12-17 17:43:30 +01:00
111 changed files with 1263 additions and 992 deletions

View File

@@ -53,7 +53,8 @@ class ActivityPub::Parser::StatusParser
end
def created_at
@object['published']&.to_datetime
datetime = @object['published']&.to_datetime
datetime if datetime.present? && (0..9999).cover?(datetime.year)
rescue ArgumentError
nil
end