Skip to content

[WIP] Update date localization and format detection based on feedback#71

Merged
rodrigogs merged 2 commits intofix/issue-69-date-localization-and-format-detectionfrom
copilot/sub-pr-70
Mar 3, 2026
Merged

[WIP] Update date localization and format detection based on feedback#71
rodrigogs merged 2 commits intofix/issue-69-date-localization-and-format-detectionfrom
copilot/sub-pr-70

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

  • Analyze feedback: parseLine derives sender/content from normalizedLine, mutating chat text and affecting ID generation
  • Add getOriginalRemainderOffset() helper to map normalized match length back to original line position (walks both strings in parallel, accounting for directional-mark stripping, klo removal, and a.m./p.m. rewriting)
  • Update parseLine to use original line for remainder (sender/content) instead of normalizedLine
  • Run lint and build — both pass
  • CodeQL security scan — no alerts

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: rodrigogs <2362425+rodrigogs@users.noreply.github.com>
@rodrigogs rodrigogs marked this pull request as ready for review March 3, 2026 00:18
@rodrigogs rodrigogs merged commit 3bea8e0 into fix/issue-69-date-localization-and-format-detection Mar 3, 2026
1 check passed
@rodrigogs rodrigogs deleted the copilot/sub-pr-70 branch March 3, 2026 00:18
Copilot stopped work on behalf of rodrigogs due to an error March 3, 2026 00:18
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.

2 participants