fixed time validation and failing tests for Firefox