I suspect you made that up about what "Israel" said, and Iran could have a nuke in months pre deal only if they disregarded their current agreements and it would take them 15 years post deal, only if they abide by their new agreements.
https://firstlook.org/theintercept/2015/03/02/brief-history-netanyahu-crying-wolf-iranian-nuclear-bomb/"In 2012 Netanyahu said in closed talks reported by Israeli media that Iran is just a few months away from attaining nuclear capabilities. Later that same year, he gave a widely-mocked address at the United Nations in which he alleged that Iran would have the ability to construct a weapon within roughly one year, while using a printout of a cartoon bomb to illustrate his point."
now after the deal he says 10 to 15 years.....