j-palindrome / obsidian-time-ruler

A drag-and-drop time ruler combining the best of a task list and a calendar view (integrates with Tasks, Full Calendar, and Dataview).
MIT License
214 stars 7 forks source link

Adjusting the duration does not work properly #111

Closed nerumi closed 3 months ago

nerumi commented 5 months ago

Describe the bug Adjusting the duration of a task adds a second duration property in ISO8601 standard (something like "PT2H") to the task making it impossible for Time Ruler to display the correct duration presumably due to conflicting information.

To Reproduce Steps to reproduce the behavior:

  1. Create a Test vault
  2. Install Dataview and Time Ruler
  3. Write a Test Task on the "Welcome" page
  4. Go to Time Ruler and schedule the task to any day and time
  5. Use Time Ruler to set a arbitrary duration
  6. Use Time Ruler to adjust the duration

Expected behavior The task should be displayed with its new duration.

Actual behavior The task reverts back to the way it's displayed when no duration is set.

Screenshots n/a

Obsidian Version:

Additional context Adjusting the duration of the task repeatedly keeps adding ISO8601 duration strings to the new duration property array.

gypsyav commented 5 months ago

I can confirm this behavior.

j-palindrome commented 3 months ago

This is fixed in the upcoming release.