Fix month being reported as undefined [ci skip]