UNPKG

javascript-time-ago

Version:

Localized relative date/time formatting

20 lines (16 loc) 602 B
import approximate from '../steps/approximate.js'; // "gradation" is a legacy name for "steps". // It's here just for legacy compatibility. // Use "steps" name instead. // "flavour" is a legacy name for "labels". // It's here just for legacy compatibility. // Use "labels" name instead. // "units" is a legacy property. // It's here just for legacy compatibility. // Developers shouldn't need to use it in their custom styles. export default { gradation: approximate, flavour: 'long', units: ['now', 'minute', 'hour', 'day', 'week', 'month', 'year'] }; //# sourceMappingURL=approximate.js.map