12 lines
392 B
JavaScript
12 lines
392 B
JavaScript
|
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];
|