decord/source/3284_formatDistance.js
2026-07-20 16:05:17 +00:00

30 lines
956 B
JavaScript

// Module ID: 3284
// Function ID: 26012
// Name: formatDistance
// Dependencies: []
// Exports: default
// Module 3284 (formatDistance)
let closure_0 = { lessThanXSeconds: {}, xSeconds: {}, halfAMinute: "30\uCD08", lessThanXMinutes: {}, xMinutes: {}, aboutXHours: {}, xHours: {}, xDays: {}, aboutXWeeks: {}, xWeeks: {}, aboutXMonths: {}, xMonths: {}, aboutXYears: {}, xYears: {}, overXYears: {}, almostXYears: {} };
export default function formatDistance(arg0, arg1, addSuffix) {
if ("string" === typeof closure_0[arg0]) {
let tmp4 = tmp;
if (null != addSuffix) {
tmp4 = tmp;
if (addSuffix.addSuffix) {
if (!addSuffix.comparison) {
let text = `${tmp} 전`;
}
text = `${tmp} 후`;
}
}
return tmp4;
} else if (1 === arg1) {
let one = tmp.one;
} else {
one = tmp.other.replace("{{count}}", arg1.toString());
const str = tmp.other;
}
};
export default exports.default;