Commit 52fab3f0 authored by Viacheslav Pavlov's avatar Viacheslav Pavlov

react-time-ago update fixed

parent 7ed6d6a6
......@@ -18,7 +18,7 @@ export default withTranslation()(function PrettyDate({
return (
<span className="prettydate">
{ diffDays < 4 ?
<TimeAgo tooltipClassName="pretty-date-tooltip">{ valueTime }</TimeAgo>
<TimeAgo tooltipClassName="pretty-date-tooltip" date={ valueTime }/>
:
moment(value).format(withoutDay ? 'MMMM YYYY' : 'D MMMM YYYY')
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment