Skip to content

feat: autolink failure details and timezone fix - #1

Merged
bludot merged 1 commit into
mainfrom
feat/autolink-failure-details
Apr 13, 2026
Merged

bludot merged 1 commit into
mainfrom
feat/autolink-failure-details

Conversation

@bludot

@bludot bludot commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Autolink failures now show TVDB candidate dates vs expected anime date, making date mismatches immediately visible (e.g. Failed: No TVDB match. Expected: 2024-01-10 · TVDB had: "My Anime" (S1: 2024-01-08, S2: 2024-07-05))
  • Fixed timezone bug where ISO dates with JST offsets (e.g. 2024-01-10T00:00:00+09:00) would shift to the previous day when parsed in non-JST timezones
  • Added ±1 day tolerance for date comparison to handle remaining edge cases
  • Added production config (src/config/static/production/index.json)

Test plan

  • Run autolink on seasonal page — verify failed items show TVDB candidate dates
  • Run autolink on home page — verify failure reason shows date mismatch details
  • Check that previously working autolinks still succeed (tolerance shouldn't break exact matches)
  • Verify dates display correctly regardless of browser timezone

🤖 Generated with Claude Code

…date matching

Autolink failures now display what dates TVDB had vs what was expected,
making it easy to spot date mismatches. Also fixes off-by-one day errors
caused by timezone shifts when parsing ISO dates with JST offsets, and
adds ±1 day tolerance for remaining edge cases.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bludot
bludot merged commit 5b4b6fa into main Apr 13, 2026
1 check passed
@bludot

bludot commented Apr 13, 2026

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant