updated validator to check more thoroughly the time fields