12 lines
297 B
JavaScript
12 lines
297 B
JavaScript
const formatRelativeLocale = {
|
|
lastWeek: "'ôfrûne' eeee 'om' p",
|
|
yesterday: "'juster om' p",
|
|
today: "'hjoed om' p",
|
|
tomorrow: "'moarn om' p",
|
|
nextWeek: "eeee 'om' p",
|
|
other: "P",
|
|
};
|
|
|
|
export const formatRelative = (token, _date, _baseDate, _options) =>
|
|
formatRelativeLocale[token];
|