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

12 lines
303 B
JavaScript

const formatRelativeLocale = {
lastWeek: "'afgelopen' eeee 'om' p",
yesterday: "'gisteren om' p",
today: "'vandaag om' p",
tomorrow: "'morgen om' p",
nextWeek: "eeee 'om' p",
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];