date-fns
Version:
Modern JavaScript date utility library
15 lines (12 loc) • 413 B
JavaScript
exports.formatRelative = void 0;
const formatRelativeLocale = {
lastWeek: "eeee 'إلي فات مع' p",
yesterday: "'البارح مع' p",
today: "'اليوم مع' p",
tomorrow: "'غدوة مع' p",
nextWeek: "eeee 'الجمعة الجاية مع' p 'نهار'",
other: "P",
};
const formatRelative = (token) => formatRelativeLocale[token];
exports.formatRelative = formatRelative;
;