timepiece/node_modules/date-fns/locale/gu/_lib/formatRelative.js

18 lines
539 B
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
"use strict";
exports.formatRelative = void 0;
// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html
const formatRelativeLocale = {
lastWeek: "'પાછલા' eeee p", // CLDR #1384
yesterday: "'ગઈકાલે' p", // CLDR #1409
today: "'આજે' p", // CLDR #1410
tomorrow: "'આવતીકાલે' p", // CLDR #1411
nextWeek: "eeee p", // CLDR #1386
other: "P",
};
const formatRelative = (token, _date, _baseDate, _options) =>
formatRelativeLocale[token];
exports.formatRelative = formatRelative;