Files
cm-app-crawlspider/node_modules/javascript-time-ago/commonjs/style/time.js

39 lines
646 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _gradation = require("../gradation");
// Similar to the default style but with "ago" omitted.
//
// just now
// 5 minutes
// 10 minutes
// 15 minutes
// 20 minutes
// an hour
// 2 hours
// …
// 20 hours
// 1 day
// 2 days
// a week
// 2 weeks
// 3 weeks
// a month
// 2 months
// 3 months
// 4 months
// a year
// 2 years
//
var _default = {
gradation: _gradation.convenient,
flavour: 'long-time',
units: ['now', 'minute', 'hour', 'day', 'week', 'month', 'year']
};
exports.default = _default;
//# sourceMappingURL=time.js.map