[MODSER-7] When predicting issues for a multi-year pattern, the first year is skipped Created: 27/Jun/23  Updated: 25/Jul/23  Resolved: 25/Jul/23

Status: Closed
Project: mod-serials-management
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: Owen Stephens Assignee: Owen Stephens
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint: Serials Sprint 168, Serials Sprint 169, Serials Sprint 170
Development Team: K-Int
Release: Not Scheduled
RCA Group: TBD

 Description   

e.g. a serial that comes once every 3 years

 

{ "rulesetStatus": { "value": "active" }, "recurrence": { "timeUnit": { "value": "year" }, "period": "3", "issues": "1", "rules": [ { "pattern": { "day": "1", "month": { "value": "january" } }, "ordinal": "1", "patternType": "year_date" } ] }, "patternType": "year_date", "startDate": "2023-01-01"}

 Expected behaviour:

A single issue predicted that was expected on the 1st January 2023.

Actual behaviour:

A single issue predicted that is expected 1st January 2024
 
 


Generated at Thu Feb 08 22:30:59 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.