12 lines
302 B
JavaScript
12 lines
302 B
JavaScript
const formatRelativeLocale = {
|
|
lastWeek: "'ovddit' eeee 'dii.' p",
|
|
yesterday: "'ikte dii.' p",
|
|
today: "'odne dii.' p",
|
|
tomorrow: "'ihtin dii.' p",
|
|
nextWeek: "EEEE 'dii.' p",
|
|
other: "P",
|
|
};
|
|
|
|
export const formatRelative = (token, _date, _baseDate, _options) =>
|
|
formatRelativeLocale[token];
|