Fixed an issue where the times weren't being set properly.