update time_table limits on date or period change , Mantis 23801
dont save calendar when dates or periods are invalid , Mantis 24425