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

12 lines
302 B
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
const formatRelativeLocale = {
lastWeek: "'oldingi' eeee p 'da'",
yesterday: "'kecha' p 'da'",
today: "'bugun' p 'da'",
tomorrow: "'ertaga' p 'da'",
nextWeek: "eeee p 'da'",
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];