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/esm/locale/is/_lib/formatDistance/ drwxr-xr-x | |
| Viewing file: Select action/file-type: var formatDistanceLocale = {
lessThanXSeconds: {
one: 'minna en 1 sekúnda',
other: 'minna en {{count}} sekúndur'
},
xSeconds: {
one: '1 sekúnda',
other: '{{count}} sekúndur'
},
halfAMinute: 'hálf mínúta',
lessThanXMinutes: {
one: 'minna en 1 mínúta',
other: 'minna en {{count}} mínútur'
},
xMinutes: {
one: '1 mínúta',
other: '{{count}} mínútur'
},
aboutXHours: {
one: 'u.þ.b. 1 klukkustund',
other: 'u.þ.b. {{count}} klukkustundir'
},
xHours: {
one: '1 klukkustund',
other: '{{count}} klukkustundir'
},
xDays: {
one: '1 dagur',
other: '{{count}} dagar'
},
aboutXWeeks: {
one: 'um viku',
other: 'um {{count}} vikur'
},
xWeeks: {
one: '1 viku',
other: '{{count}} vikur'
},
aboutXMonths: {
one: 'u.þ.b. 1 mánuður',
other: 'u.þ.b. {{count}} mánuðir'
},
xMonths: {
one: '1 mánuður',
other: '{{count}} mánuðir'
},
aboutXYears: {
one: 'u.þ.b. 1 ár',
other: 'u.þ.b. {{count}} ár'
},
xYears: {
one: '1 ár',
other: '{{count}} ár'
},
overXYears: {
one: 'meira en 1 ár',
other: 'meira en {{count}} ár'
},
almostXYears: {
one: 'næstum 1 ár',
other: 'næstum {{count}} ár'
}
};
export default 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 + ' síðan';
}
}
return result;
} |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0047 ]-- |