markwhen icon indicating copy to clipboard operation
markwhen copied to clipboard

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

Open LeonardoDEJE opened this issue 7 months ago • 1 comments

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!

LeonardoDEJE avatar May 20 '25 00:05 LeonardoDEJE

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

Baboon-Delaware avatar May 22 '25 14:05 Baboon-Delaware