@visulima/humanizer
Version:
Humanizer is a library for humanizing data in a human-readable form.
22 lines (17 loc) • 729 B
JavaScript
;
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
const language_util_createDurationLanguage = require('./util/create-duration-language.cjs');
const durationLanguage = language_util_createDurationLanguage(
"jaar",
(counter) => `maand${counter === 1 ? "" : "e"}`,
(counter) => counter === 1 ? "week" : "weke",
(counter) => counter === 1 ? "dag" : "dae",
(counter) => counter === 1 ? "uur" : "ure",
(counter) => counter === 1 ? "minuut" : "minute",
(counter) => `sekonde${counter === 1 ? "" : "s"}`,
(counter) => `millisekonde${counter === 1 ? "" : "s"}`,
"oor %s",
"%s gelede",
","
);
exports.durationLanguage = durationLanguage;