Skip to content

Keep dates readable and text in order in other languages - #74

Merged
rcasazza merged 1 commit into
mainfrom
fix/right-to-left-text
Nov 24, 2026
Merged

rcasazza merged 1 commit into
mainfrom
fix/right-to-left-text

Conversation

@rcasazza

Copy link
Copy Markdown
Member

From the locale pass (German, Japanese, British English, Arabic, Hebrew), recorded in VERIFY.md.

  • Dates could become unreadable. With Obsidian in Arabic, ticking a task through the Tasks plugin rewrote its dates as 📅 ٢٠٢٦-١١-٢٩, which neither plugin reads as a date. Tasklines now refuses that output. Plain tasks are completed by the built-in toggle with 0-9 dates. Recurring tasks are refused with nothing changed, because their next occurrence has to come from Tasks.
  • Right-to-left text: English task names were cut off at their start, and mixed text and summary numbers were out of order. Each task now keeps its own direction.
  • Calendar borders use logical sides, so they mirror correctly.

Week starts and layout were correct in all five languages.

Tested: build, lint, all tests in three time zones, fuzz at 200,000 cases, and edits, ticks and drags in Obsidian 1.15.1 on macOS in Arabic with Tasks 8.6.0.

🤖 Generated with Claude Code

- In a language like Arabic the Tasks plugin can write dates in that
  script's digits, which neither plugin reads back. Refuse that output:
  complete plain tasks with the built-in toggle, and refuse recurring ones.
- In right-to-left vaults, keep each task's own text direction, so English
  names are cut off at their end and summary numbers stay in place.
- Use logical borders in the calendar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rcasazza
rcasazza merged commit fa5e18b into main Nov 24, 2026
2 checks passed
@rcasazza
rcasazza deleted the fix/right-to-left-text branch November 24, 2026 01:19
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