You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`output-format`|| For non-relative dates (the default, `from-now` set to `false`) show the date in the given format. For formatting options see: https://momentjs.com/docs/#/displaying/format/| String |
21
+
|`from-now`|`false`| Change the date to a relative date, relative from now. | Boolean |
22
+
|`no-suffix`|`false`| For relative dates and no-suffix is set to `true`, do not show the suffix like `8 years` instead of `8 years ago`. | Boolean |
23
+
|`format`|| Input parsing format. If not given (the default) the format is set automatically, if possible. For more information, see: https://momentjs.com/docs/#/parsing/string-format/| String |
24
+
|`locale`|| The locale to translate the resulting date/time string into. If not given (the default) the locale is retrieved from a `lang` attribute up in the DOM tree or `en`. | String |
25
+
|`strict`|`false`| Strict parsing for the input format. See: https://momentjs.com/guides/#/parsing/strict-mode/| Boolean |
0 commit comments