Add suffix option to DateFromNow for full transition from moment.js

This commit is contained in:
Florian Scholdei
2019-10-10 14:33:22 +02:00
parent bd05ba9cc7
commit 30ab976891

View File

@@ -36,7 +36,8 @@ class DateFromNow extends React.Component<Props> {
createOptions = () => {
const locale = this.getLocale();
return {
locale
locale,
addSuffix: true
};
};