timepiece/node_modules/date-fns/locale/mn/_lib/formatRelative.mjs

12 lines
416 B
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
const formatRelativeLocale = {
lastWeek: "'өнгөрсөн' eeee 'гарагийн' p 'цагт'",
yesterday: "'өчигдөр' p 'цагт'",
today: "'өнөөдөр' p 'цагт'",
tomorrow: "'маргааш' p 'цагт'",
nextWeek: "'ирэх' eeee 'гарагийн' p 'цагт'",
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];