Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_profile: Fallback to "" for timezone upon creation.
Zixuan James Li9bfeebf06428
diff --git a/zerver/data_import/import_util.py b/zerver/data_import/import_util.pyindex f96071dd6fa..e38237fb9f6 100644--- a/zerver/data_import/import_util.py+++ b/zerver/data_import/import_util.py@@ -98,7 +98,7 @@ def build_user_profile(is_mirror_dummy: bool,realm_id: int,short_name: str,- timezone: Optional[str],+ timezone: str,is_bot: bool = False,bot_type: Optional[int] = None,) -> ZerverFieldsT:diff --git a/zerver/lib/create_user.py b/zerver/lib/create_user.pyindex bc665122280..18e2d7e62e6 100644--- a/zerver/lib/create_user.py+++ b/zerver/lib/create_user.py@@ -83,7 +83,7 @@ def create_user_profile(bot_owner: Optional[UserProfile],is_mirror_dummy: bool,tos_version: Optional[str],- timezone: Optional[str],+ timezone: str,default_language: str = "en",tutorial_status: str = UserProfile.TUTORIAL_WAITING,force_id: Optional[int] = None,