Skip to content

Markwhen Obsidian Plugin: Gantt drag-and-drop changes 1 day to 1 dia, breaking visualization #165

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

Open
LeonardoDEJE opened this issue May 20, 2025 · 1 comment

Comments

@LeonardoDEJE
Copy link

Markwhen Obsidian Plugin: Gantt drag-and-drop changes 1 day to 1 dia, breaking visualization

Body:
I'm using the Markwhen plugin in Obsidian, with the following header configured in my timeline:

dateFormat: d/M/y

However, when I drag a task bar in the Gantt chart to adjust its duration, the plugin automatically replaces the English duration (1 day, 2 days, etc.) with a Portuguese version (1 dia, 2 dias, etc.). After that, the task disappears from the Gantt view — likely because the localized string breaks Markwhen's syntax.

I've already changed the Obsidian interface language to English, but this behavior persists. It seems the editor's drag-and-drop action uses the system or browser locale to format the duration, not respecting the original language.

📌 Is there a way to force the duration units to always remain in English (day(s)) when using the Gantt drag feature inside Obsidian?

Any workaround or config tip would be greatly appreciated!

@Baboon-Delaware
Copy link

Duplicate from #160. This is not linked to obsidian plugin but linked to markwhen core.

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

No branches or pull requests

2 participants