Use the first date of the month and the not last date of the month.

Relate to issue #1971