WIP: fixing days between and DOW algorithms