timestamp: Update docs to advertise new syntax and other time formats.

This commit is contained in:
Rohitt Vashishtha 2020-07-06 20:51:37 +05:30 committed by Tim Abbott
parent 1f765b41ce
commit 3d0a5d28f2
1 changed files with 5 additions and 2 deletions

View File

@ -215,10 +215,10 @@ and having everyone translate the time in their heads, in Zulip, you
can mention a time, and it'll be displayed to each user in their own
timezone (just like the timestamps on Zulip messages).
A date picker will appear once you type `!time`.
A date picker will appear once you type `<time`.
```
Our next meeting is scheduled for !time(2020-05-28T13:30:00+05:30)
Our next meeting is scheduled for <time:2020-05-28T13:30:00+05:30>
```
A person in San Francisco will see:
@ -229,6 +229,9 @@ While someone in India will see:
> Our next meeting is scheduled for *Thu, May 28 2020, 1:30 PM*.
You can also use other formats such as UNIX timestamps or human readable
dates, for example, `<time:May 28 2020, 1:30 PM IST>`.
## Tables
The initial pipes (`|`) are optional if every entry in the first column is non-empty.