Chnage day computation to round down (see issue#9 for references)