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
Replace usages of moment with plain Date and Intl support. This works in modern browsers without polyfills. If Intl is not available then use a naive way of formatting the date. IE is not using it.
Arithmetic operations (isBefore, isAfter, +,-) should be trivial to support via the Date API.
Parsing in the API client only works by using ISO8601 strings. This means the api needs to deliver properly formatted time strings.
Acceptance Criteria:
moment is no longer used in any files in integreat-app
Formatting works perfectly Firefox, Chrome, Android, iOS
Locales like de, en, fa, ar, ps, ckb, kmr are reasonably supported
Formatting does not throw errors in IE11
Upgrade i18next to v21 or create a new issue (blocked by intl support)
Michael Markl - 24.6.2020, 16:06:51
We want to remove moment.js as it is no longer required in modern browsers.
Check before starting:
Replace usages of moment with plain Date and Intl support. This works in modern browsers without polyfills. If Intl is not available then use a naive way of formatting the date. IE is not using it.
Arithmetic operations (isBefore, isAfter, +,-) should be trivial to support via the Date API.
Parsing in the API client only works by using ISO8601 strings. This means the api needs to deliver properly formatted time strings.
Acceptance Criteria:
Environment: -
Linked issues:
The text was updated successfully, but these errors were encountered: