zulip/static
Aman Agrawal 27b985e868 recent_topics: Standardize format of last message time.
We follow how other apps present older messages, e.g. Gmail,
Facebook Messenger, etc. display it.

Specifically, the logic we use is:

If the time is <24hr ago, show an absolute time, like "21:30" (or "9:30pm").
Otherwise, show what day it was, and not a time
  If the day was yesterday, say "Yesterday".
  Otherwise, if it was <7 days ago, say the day of week, like "Friday".
  Otherwise, if it was <1 year ago, say the month and day, like "Sep 6".
  Otherwise, say the year, month, and day, like "Sep 9, 2020".

With some tweaks from Tim Abbott to better handle the future case.

Fixes #19775
2022-02-25 16:33:47 -08:00
..
assets icons: Set font-display: block for icon font. 2021-08-23 15:59:54 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images portico: Add a self-hosting page. 2022-02-17 12:43:13 -08:00
js recent_topics: Standardize format of last message time. 2022-02-25 16:33:47 -08:00
shared js: Avoid _.get. 2022-01-24 15:54:21 -08:00
styles recent_topics: Show loading indicator before fetching initial messages. 2022-02-25 16:29:43 -08:00
templates recent_topics: Show loading indicator before fetching initial messages. 2022-02-25 16:29:43 -08:00
third typeahead: Ignore mouse position for selection until it's moved. 2022-02-15 17:26:22 -08:00
.gitignore docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00