mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboViteDocs.git
synced 2026-06-17 02:56:34 +00:00
Initalize
This commit is contained in:
13
node_modules/timeago.js/lib/lang/en_US.js
generated
vendored
Normal file
13
node_modules/timeago.js/lib/lang/en_US.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var EN_US = ['second', 'minute', 'hour', 'day', 'week', 'month', 'year'];
|
||||
function default_1(diff, idx) {
|
||||
if (idx === 0)
|
||||
return ['just now', 'right now'];
|
||||
var unit = EN_US[Math.floor(idx / 2)];
|
||||
if (diff > 1)
|
||||
unit += 's';
|
||||
return [diff + " " + unit + " ago", "in " + diff + " " + unit];
|
||||
}
|
||||
exports.default = default_1;
|
||||
//# sourceMappingURL=en_US.js.map
|
||||
Reference in New Issue
Block a user