Improper "safe days" calculation in cycle 0.3.1-7ubuntu1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cycle (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Current version does improper "safe days" calculation (compared to other calculators and sane logic) in SOME cases.
Testcase:
1) Delete all previous data in ~/.cycle/*
2) Run "cycle"
3) Mark (example) October 17th and November 9th as start day.
4) Leave other options untouched (by default, 28 days cycle).
Expected result:
"Cycle" should calculate next data starting from November 9th based on default settings (28 days/cycle), which is: safe days start on November 28th.
Actual result:
"Cycle" calculates safe days to start on November 22nd (!!!! incorrect !!!, 6 days offset), while correctly showing next cycle to start on December 7th.
Assumption: probably (not sure), "Cycle" calculates safe days always with non-default option (even being turned off) "on average", and calculated next cycle start date base on options set (should only use the option set in the menu - otherwise 2 differect methods are used for 2 dates within one cycle). As a result, data shown is EXTREMELY incorrect and may lead to "unexpected results".
Please correct the issue.
description: | updated |
description: | updated |