-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toot timeline chokes on last_status_at field #399
Comments
Corresponding Akkoma issue: https://akkoma.dev/AkkomaGang/akkoma/issues/637 |
Per my comment on the Akkoma repo, the Masto example is wrong according to their own docs - Checked using a couple of links on octodon.social and mastodon.social - both are sending YYYY-MM-DD as expected. |
Thank you for looking into this. I opened an issue regarding the documentation inconsistency: mastodon/mastodon#26843 |
Thanks for this report; regardless of the correctness or incorrectness of Mastodon, toot should not be crashing. |
Fixed by PR #405 |
Thanks for fixing this quickly <3 Do you think you could cut out a new release containing this fix? 0.38.1 can't really be used with Akkoma/Pleroma as it is :( |
Unfortunately I cannot. @ihabunek is the one to ask. |
@picnoir I pushed v 0.38.2 which includes this fix. |
Thank you! |
Upstream released 0.38.2. This new release contains the pleroma fix we previously were getting from master. We don't need this override anymore to get the test to succeed. ihabunek/toot#399 (comment)
When retrieving the timeline from an Akkoma instance (tried it with Akkoma 3.9.3, 3.10.3 and 3.10.4),
toot timeline
(version 0.38.1) chokes on thelast_status_at
account field:toot expects a date (cf. https://github.com/ihabunek/toot/blob/master/toot/entities.py#L64), but Akkoma provides a date/time without timezone (like
2023-08-30T11:40:00
).Mastodon appears to provide a full date/time with decimal fraction and timezone (like
2023-08-30T11:40:00.000Z
) according to documentation, which would as far as I see also break toot: https://docs.joinmastodon.org/methods/statuses/The text was updated successfully, but these errors were encountered: