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
fix(ui): moment deprecated date formatting in getFormattedTimestamp() (#102599)
This fixes the following console.warn that we are getting in prod:
```
Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments:
```
`getRelativeTime()` is passed 2 `moment` objects that are formatted into
a non-standard date string, that is used to re-create another `moment`
object. We can use the `moment` arguments directly instead.
0 commit comments