Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/local/lib/node_modules/wonlog/node_modules/date-fns/locale/mk/_lib/formatDistance/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = formatDistance;
var formatDistanceLocale = {
lessThanXSeconds: {
one: 'помалку од секунда',
other: 'помалку од {{count}} секунди'
},
xSeconds: {
one: '1 секунда',
other: '{{count}} секунди'
},
halfAMinute: 'половина минута',
lessThanXMinutes: {
one: 'помалку од минута',
other: 'помалку од {{count}} минути'
},
xMinutes: {
one: '1 минута',
other: '{{count}} минути'
},
aboutXHours: {
one: 'околу 1 час',
other: 'околу {{count}} часа'
},
xHours: {
one: '1 час',
other: '{{count}} часа'
},
xDays: {
one: '1 ден',
other: '{{count}} дена'
},
aboutXWeeks: {
one: 'околу 1 недела',
other: 'околу {{count}} месеци'
},
xWeeks: {
one: '1 недела',
other: '{{count}} недели'
},
aboutXMonths: {
one: 'околу 1 месец',
other: 'околу {{count}} недели'
},
xMonths: {
one: '1 месец',
other: '{{count}} месеци'
},
aboutXYears: {
one: 'околу 1 година',
other: 'околу {{count}} години'
},
xYears: {
one: '1 година',
other: '{{count}} години'
},
overXYears: {
one: 'повеќе од 1 година',
other: 'повеќе од {{count}} години'
},
almostXYears: {
one: 'безмалку 1 година',
other: 'безмалку {{count}} години'
}
};
function formatDistance(token, count, options) {
options = options || {};
var result;
if (typeof formatDistanceLocale[token] === 'string') {
result = formatDistanceLocale[token];
} else if (count === 1) {
result = formatDistanceLocale[token].one;
} else {
result = formatDistanceLocale[token].other.replace('{{count}}', count);
}
if (options.addSuffix) {
if (options.comparison > 0) {
return 'за ' + result;
} else {
return 'пред ' + result;
}
}
return result;
}
module.exports = exports.default; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0039 ]-- |