modified timezone validation function