summaryrefslogtreecommitdiffstats
path: root/web/react/components/time_since.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2016-02-05 09:23:40 -0800
committerReed Garmsen <rgarmsen2295@gmail.com>2016-02-05 09:23:40 -0800
commitd416a04e52783460328f5e26295071d75d8897cd (patch)
treec47aa7c3eaf7cda11faac10b818da63d44c1ae8c /web/react/components/time_since.jsx
parent1778eb81157bfaeb23881efce6f5e50ef6db25a7 (diff)
downloadchat-d416a04e52783460328f5e26295071d75d8897cd.tar.gz
chat-d416a04e52783460328f5e26295071d75d8897cd.tar.bz2
chat-d416a04e52783460328f5e26295071d75d8897cd.zip
Separated displayTime functions for component/string form
Diffstat (limited to 'web/react/components/time_since.jsx')
-rw-r--r--web/react/components/time_since.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/time_since.jsx b/web/react/components/time_since.jsx
index 88d89017b..1560d2469 100644
--- a/web/react/components/time_since.jsx
+++ b/web/react/components/time_since.jsx
@@ -25,7 +25,7 @@ export default class TimeSince extends React.Component {
if (this.props.sameUser) {
return (
<time className='post__time'>
- {Utils.displayTime(this.props.eventTime)}
+ {Utils.displayTimeFormatted(this.props.eventTime)}
</time>
);
}