Added date, datetime and time to factory