Fix: incorrect calculated days