diff options
Diffstat (limited to 'date-fns/src/locale/gu/_lib/formatRelative/index.js')
-rw-r--r-- | date-fns/src/locale/gu/_lib/formatRelative/index.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/date-fns/src/locale/gu/_lib/formatRelative/index.js b/date-fns/src/locale/gu/_lib/formatRelative/index.js new file mode 100644 index 0000000..367399b --- /dev/null +++ b/date-fns/src/locale/gu/_lib/formatRelative/index.js @@ -0,0 +1,14 @@ +// 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' +} + +export default function formatRelative(token, _date, _baseDate, _options) { + return formatRelativeLocale[token] +} |