Skip to content

Fix Gnome Planner reader storing percent-complete as a raw 0-100 value - #61

Merged
Progi1984 merged 1 commit into
PHPOffice:developfrom
slayerfx:fix/gnome-planner-progress
Jul 21, 2026
Merged

Progi1984 merged 1 commit into
PHPOffice:developfrom
slayerfx:fix/gnome-planner-progress

Conversation

@slayerfx

Copy link
Copy Markdown
Contributor

Task::setProgress() expects a 0..1 fraction and clamps anything above 1, so percent-complete="50" was stored as 1.0 (100%). The reader now divides by 100, as Reader/MSPDI already does. Found while writing the writer for #22, the writer side was already correct.

@Progi1984 Progi1984 added this to the 0.3.0 milestone Jul 21, 2026
@Progi1984
Progi1984 merged commit be531fd into PHPOffice:develop Jul 21, 2026
28 checks passed
@slayerfx
slayerfx deleted the fix/gnome-planner-progress branch July 21, 2026 15:12
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