mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
user_profile: Fallback to "" for timezone upon creation.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
a9029c68ea
commit
9bfeebf064
@@ -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:
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user