mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
Add suffix option to DateFromNow for full transition from moment.js
This commit is contained in:
@@ -36,7 +36,8 @@ class DateFromNow extends React.Component<Props> {
|
|||||||
createOptions = () => {
|
createOptions = () => {
|
||||||
const locale = this.getLocale();
|
const locale = this.getLocale();
|
||||||
return {
|
return {
|
||||||
locale
|
locale,
|
||||||
|
addSuffix: true
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user