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/nb/_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: {
singular: 'mindre enn ett sekund',
plural: 'mindre enn {{count}} sekunder'
},
xSeconds: {
singular: 'ett sekund',
plural: '{{count}} sekunder'
},
halfAMinute: 'et halvt minutt',
lessThanXMinutes: {
singular: 'mindre enn ett minutt',
plural: 'mindre enn {{count}} minutter'
},
xMinutes: {
singular: 'ett minutt',
plural: '{{count}} minutter'
},
aboutXHours: {
singular: 'omtrent en time',
plural: 'omtrent {{count}} timer'
},
xHours: {
singular: 'en time',
plural: '{{count}} timer'
},
xDays: {
singular: 'en dag',
plural: '{{count}} dager'
},
aboutXWeeks: {
singular: 'omtrent en uke',
plural: 'omtrent {{count}} uker'
},
xWeeks: {
singular: 'en uke',
plural: '{{count}} uker'
},
aboutXMonths: {
singular: 'omtrent en måned',
plural: 'omtrent {{count}} måneder'
},
xMonths: {
singular: 'en måned',
plural: '{{count}} måneder'
},
aboutXYears: {
singular: 'omtrent ett år',
plural: 'omtrent {{count}} år'
},
xYears: {
singular: 'ett år',
plural: '{{count}} år'
},
overXYears: {
singular: 'over ett år',
plural: 'over {{count}} år'
},
almostXYears: {
singular: 'nesten ett år',
plural: 'nesten {{count}} år'
}
};
function formatDistance(token, count, options) {
options = options || {};
var translation = formatDistanceLocale[token];
var result;
if (typeof translation === 'string') {
result = translation;
} else if (count === 0 || count > 1) {
result = translation.plural.replace('{{count}}', count);
} else {
result = translation.singular;
}
if (options.addSuffix) {
if (options.comparison > 0) {
return 'om ' + result;
} else {
return result + ' siden';
}
}
return result;
}
module.exports = exports.default; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0287 ]-- |