personal_menu: Don't show user local time.

Fixes #30044
This commit is contained in:
Aman Agrawal 2024-07-14 14:38:17 +00:00 committed by Tim Abbott
parent fe71eaa8f0
commit c82c0715ca
2 changed files with 0 additions and 8 deletions

View File

@ -187,7 +187,6 @@ export function get_personal_menu_content_context() {
show_placeholder_for_status_text: !status_text && status_emoji_info,
status_text,
status_emoji_info,
user_time: people.get_user_time(my_user_id),
// user color scheme
user_color_scheme: user_settings.color_scheme,

View File

@ -16,13 +16,6 @@
</header>
<section class="dropdown-menu-list-section personal-menu-actions" data-user-id="{{user_id}}">
<ul role="menu" class="popover-menu-list">
{{#if user_time}}
<li role="none" class="text-item hidden-for-spectators popover-menu-list-item">
<i class="popover-menu-icon zulip-icon zulip-icon-clock" aria-hidden="true"></i>
{{#tr}}{user_time} local time{{/tr}}
</li>
<li role="separator" class="popover-menu-separator"></li>
{{/if}}
{{#if status_content_available}}
<li role="none" class="text-item popover-menu-list-item">
<span class="personal-menu-status-wrapper">