fix for the day_begins option I just added.  previous method wouldn't work if the day was the first of the month. now it should be robust