has month changed logic