Skip to content

fix: normalize YouTube feed timestamps - #100

Open
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/youtube-feed-timestamps
Open

fix: normalize YouTube feed timestamps#100
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/youtube-feed-timestamps

Conversation

@vycdev2

@vycdev2 vycdev2 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • parse YouTube Atom publication timestamps with invariant culture
  • normalize parsed offsets to UTC before feed entries are ordered
  • cover offset, UTC, and invalid timestamp cases

Verification

  • dotnet test Morpheus.Tests/Morpheus.Tests.csproj --filter FullyQualifiedName~YoutubeFeedServiceTests --logger "console;verbosity=minimal" — passed: 4/4
  • dotnet build --no-restore — passed: 0 errors, 1 existing package-vulnerability warning
  • dotnet test --no-build --logger "console;verbosity=minimal" — 300 passed, 2 failed: existing tr-TR culture cases under globalization-invariant mode; the same failures reproduce on upstream/develop
  • git diff --check upstream/develop...HEAD — passed

Risk

  • Low: the change is isolated to YouTube feed timestamp parsing and preserves DateTime.MinValue for invalid input.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant