diff --git a/app/soapbox/components/relative_timestamp.js b/app/soapbox/components/relative_timestamp.js index 7cbc85660..e66c031c1 100644 --- a/app/soapbox/components/relative_timestamp.js +++ b/app/soapbox/components/relative_timestamp.js @@ -122,7 +122,7 @@ class RelativeTimestamp extends React.Component { }; state = { - now: this.props.intl.now(), + now: Date.now(), }; static defaultProps = { @@ -139,7 +139,7 @@ class RelativeTimestamp extends React.Component { componentWillReceiveProps(nextProps) { if (this.props.timestamp !== nextProps.timestamp) { - this.setState({ now: this.props.intl.now() }); + this.setState({ now: Date.now() }); } } @@ -166,7 +166,7 @@ class RelativeTimestamp extends React.Component { const delay = delta < 0 ? Math.max(updateInterval, unitDelay - unitRemainder) : Math.max(updateInterval, unitRemainder); this._timer = setTimeout(() => { - this.setState({ now: this.props.intl.now() }); + this.setState({ now: Date.now() }); }, delay); }