Fixed the bug for list of month values

There were two issues here. 1. The order of output wasn't as expected
for connecting a list of numbers for months. 2. Any month after Feb
would end up having only 28 days!