@visulima/humanizer
Version:
Humanizer is a library for humanizing data in a human-readable form.
21 lines (16 loc) • 835 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(
(counter) => counter === 1 ? "שנה" : "שנים",
(counter) => counter === 1 ? "חודש" : "חודשים",
(counter) => counter === 1 ? "שבוע" : "שבועות",
(counter) => counter === 1 ? "יום" : "ימים",
(counter) => counter === 1 ? "שעה" : "שעות",
(counter) => counter === 1 ? "דקה" : "דקות",
(counter) => counter === 1 ? "שניה" : "שניות",
(counter) => counter === 1 ? "מילישנייה" : "מילישניות",
"בעוד %s",
"לפני %s"
);
exports.durationLanguage = durationLanguage;