There was some time compression in the film (the Earth doesn't return until Life, The Universe and Everything, IIRC), but nothing that couldn't be fixed with a couple of sequels. Think of how Peter Jackson played fast and loose with the timelines in LOTR, not to mention characters.