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/fil/_lib/formatDistance/ drwxr-xr-x | |
| Viewing file: Select action/file-type: var formatDistanceLocale = {
lessThanXSeconds: {
one: 'mas maliit sa isang segundo',
other: 'mas maliit sa {{count}} segundo'
},
xSeconds: {
one: '1 segundo',
other: '{{count}} segundo'
},
halfAMinute: 'kalahating minuto',
lessThanXMinutes: {
one: 'mas maliit sa isang minuto',
other: 'mas maliit sa {{count}} minuto'
},
xMinutes: {
one: '1 minuto',
other: '{{count}} minuto'
},
aboutXHours: {
one: 'mga 1 oras',
other: 'mga {{count}} oras'
},
xHours: {
one: '1 oras',
other: '{{count}} oras'
},
xDays: {
one: '1 araw',
other: '{{count}} araw'
},
aboutXWeeks: {
one: 'mga 1 buwan',
// TODO
other: 'mga {{count}} buwan' // TODO
},
xWeeks: {
one: '1 buwan',
// TODO
other: '{{count}} buwan' // TODO
},
aboutXMonths: {
one: 'mga 1 buwan',
other: 'mga {{count}} buwan'
},
xMonths: {
one: '1 buwan',
other: '{{count}} buwan'
},
aboutXYears: {
one: 'mga 1 taon',
other: 'mga {{count}} taon'
},
xYears: {
one: '1 taon',
other: '{{count}} taon'
},
overXYears: {
one: 'higit sa 1 taon',
other: 'higit sa {{count}} taon'
},
almostXYears: {
one: 'halos 1 taon',
other: 'halos {{count}} taon'
}
};
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 'sa loob ng ' + result;
} else {
return result + ' ang nakalipas';
}
}
return result;
} |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0381 ]-- |