Craft::getDowntime() refactor.