recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
19 lines (18 loc) • 516 B
JavaScript
// Source: https://www.unicode.org/cldr/charts/32/summary/gu.html
var 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'
};
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
};
export default formatRelative;