metomi/isodatetime

Bug in addition of ordinal date timepoints

lhuggett opened this issue · 0 comments

When attempting to add ordinal dates or weeks in the timepoint class, in cases where the year needs to be advanced, the day-of-year is always currently set to the maximum number of days in that year, and the week-of-year is always currently set to the maximum number of weeks in that year. This is because there is a ">" sign where it should be "<" for both these cases.