diff options
author | Matthew Hodgson <matthew@matrix.org> | 2014-08-16 13:30:34 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2014-08-16 13:30:34 +0100 |
commit | e4770bb039ba5f24dc3185748baeccb3c8c0c537 (patch) | |
tree | 1d8e158c0a28c730ebf06edcc21a47ef2e3f2381 /webclient/app.js | |
parent | roll back b602834 as it made a bizarre subset of avatars go awol (diff) | |
download | synapse-e4770bb039ba5f24dc3185748baeccb3c8c0c537.tar.xz |
make presence timestamps less verbose
Diffstat (limited to 'webclient/app.js')
-rw-r--r-- | webclient/app.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webclient/app.js b/webclient/app.js index 9cdf926425..f6ce69e403 100644 --- a/webclient/app.js +++ b/webclient/app.js @@ -106,12 +106,12 @@ matrixWebClient return s + "s" } if (t < 60 * 60) { - return m + "m " + s + "s"; + return m + "m "; // + s + "s"; } if (t < 24 * 60 * 60) { - return h + "h " + m + "m"; + return h + "h "; // + m + "m"; } - return d + "d " + h + "h"; + return d + "d "; // + h + "h"; } }) .filter('orderMembersList', function($sce) { |