superseriousbusiness / gotosocial

Fast, fun, small ActivityPub server.
https://docs.gotosocial.org
GNU Affero General Public License v3.0
3.82k stars 331 forks source link

[bugfix] Account.last_status_at is a date, not datetime #3419

Closed untitaker closed 1 month ago

untitaker commented 1 month ago

Description

Changes API Account's last_status_at to be a date without time component, for full compat with mastodon.

closes #3418

Checklist

Please put an x inside each checkbox to indicate that you've read and followed it: [ ] -> [x]

If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want).

untitaker commented 1 month ago

~converting to draft until we know all tests pass. only ran internal/typeutils/, the rest is too resource-intensive on local hardware.~

golangci-lint run does not pass for me on main branch, but this PR does not add new errors. the link in CONTRIBUTING for the installation instructions is out of date, and I suspect I installed too new a version that comes with additional lints: golangci-lint has version 1.61.0 built with go1.23.1 from a1d6c560 on 2024-09-09T17:44:42Z

tsmethurst commented 1 month ago

Thanks! ^_^