fixed unix time bug that failed to handle times before 1970