fixing bugs with date range, testing with different daysPadding