ellite / Wallos

Wallos: Open-Source Personal Subscription Tracker
GNU General Public License v3.0
2.97k stars 137 forks source link

[BUG] Calendar shows on wrong year #458

Open GabrielRozendo opened 3 months ago

GabrielRozendo commented 3 months ago

Wallos v2.19.1

I've a domain I have to pay every 10 years but calendar shows it on current year.

CleanShot 2024-07-15 at 20 37 42 CleanShot 2024-07-15 at 20 38 49

Just created a new right now and could simulate: CleanShot 2024-07-15 at 20 52 53 CleanShot 2024-07-15 at 20 53 20

no shows on 2025,26,27... on 2034 still they are there correctly.

ellite commented 3 months ago

Hi. It shows previous payments as well. It's to be paid every 10 years on November 3rd. If the next payment date is 2034, it assumes you paid for it on November 3rd 2024. Maybe I can make some check when calculating backwards from the next payment date, that if it is in the future, to ignore it.

I'll try something out when I have some time. Thank you for the report.

jtitley commented 1 month ago

Same bug if a monthly sub with a future next payment (i.e. it starts in the future).

ellite commented 1 month ago

It calculates past payments as well, but only as far back as the current month. It has no impact on statistics whatsoever. It's just displayed on the calendar.