Add some tests and fix off by one in month.

Thanks to @mrmanc who fixed this in his fork and I surreptitiously fixed
again upstream.
Implement concatenated dates.