fix the one-month-timeway back machine bug

On date field change the month was incremented

Signed-off-by: Alexander Knapstein <alexander.knapstein@inspirationlabs.com>