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

12 lines
312 B
JavaScript

const formatRelativeLocale = {
lastWeek: "'viime' eeee 'klo' p",
yesterday: "'eilen klo' p",
today: "'tänään klo' p",
tomorrow: "'huomenna klo' p",
nextWeek: "'ensi' eeee 'klo' p",
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];