Fix 1 month rollover bug -- Lei Shi found this one in one place, I found the problem all over the library and patched them all.