you-dont-need / You-Dont-Need-Momentjs

List of functions which you can use to replace moment.js + ESLint Plugin
MIT License
13.27k stars 318 forks source link

Add native `RelativeTimeFormat` to `display` section `Time from now` item #93

Closed zac1st1k closed 4 years ago

zac1st1k commented 4 years ago

A test failure is expected on Node.js v10 (non-active LTS). Adding a polyfill or removing v10 from travis matrix could resolve the problem. https://nodejs.org/en/about/releases/

The test would fail on Safari 13- according to https://caniuse.com/#search=Intl%3A%20RelativeTimeFormat%3A%20format

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 224


Totals Coverage Status
Change from base Build 223: 0.0%
Covered Lines: 43
Relevant Lines: 43

💛 - Coveralls