mirror of https://github.com/zulip/zulip.git
user docs: Update time-format docs.
This commit is contained in:
parent
a1c26dcc71
commit
98c50f7041
|
@ -1,9 +0,0 @@
|
|||
# Change the date and time format
|
||||
|
||||
By default, messages in Zulip are displayed with a 12-hour timestamp
|
||||
(e.g. 3:00 PM, not 15:00). If you prefer to see the time displayed in
|
||||
a 24-hour format, you can do so easily using the following procedure:
|
||||
|
||||
{settings_tab|display-settings}
|
||||
|
||||
2. Select the option labeled **24-hour time (17:00 instead of 5:00 PM)**.
|
|
@ -0,0 +1,8 @@
|
|||
# Change the time format
|
||||
|
||||
By default, messages in Zulip are displayed with a 12-hour time format
|
||||
(e.g. 3:00 PM, not 15:00).
|
||||
|
||||
{settings_tab|display-settings}
|
||||
|
||||
1. Under **Time settings**, check the box labelled **24-hour time**.
|
|
@ -11,7 +11,7 @@
|
|||
* [Edit your settings](/help/change-your-settings)
|
||||
* [Set your avatar](/help/change-your-avatar)
|
||||
* [Change your default language](/help/change-your-language)
|
||||
* [Use 24-hour time](/help/change-the-date-and-time-format)
|
||||
* [Use 24-hour time](/help/change-the-time-format)
|
||||
* [Joining an organization](/help/join-a-zulip-organization)
|
||||
* [Logging in](/help/logging-in)
|
||||
* [Logging out](/help/logging-out)
|
||||
|
|
|
@ -9,4 +9,4 @@ content.
|
|||
!!! tip ""
|
||||
Depending on your settings, the message's timestamp is displayed in
|
||||
either a 12-hour or 24-hour format; to change the format your messages
|
||||
are displayed in, see [here](/help/change-the-date-and-time-format).
|
||||
are displayed in, see [here](/help/change-the-time-format).
|
||||
|
|
|
@ -175,12 +175,12 @@ class HelpTest(ZulipTestCase):
|
|||
self.assertIn('<a target="_blank" href="/#streams">streams page</a>', str(result.content))
|
||||
|
||||
def test_html_settings_links_help_docs(self) -> None:
|
||||
result = self.client_get('/help/change-the-date-and-time-format')
|
||||
result = self.client_get('/help/change-the-time-format')
|
||||
self.assertIn('click <a href="/#settings/display-settings">Display settings</a>', str(result.content))
|
||||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
with self.settings(ROOT_DOMAIN_LANDING_PAGE=True):
|
||||
result = self.client_get('/help/change-the-date-and-time-format',
|
||||
result = self.client_get('/help/change-the-time-format',
|
||||
subdomain="")
|
||||
self.assertEqual(result.status_code, 200)
|
||||
self.assertIn('<strong>Display settings</strong>', str(result.content))
|
||||
|
|
Loading…
Reference in New Issue