timepiece/node_modules/date-fns/locale/ja-Hira/_lib/formatRelative.mjs

13 lines
330 B
JavaScript
Raw Normal View History

2024-05-14 14:54:12 +00:00
const formatRelativeLocale = {
lastWeek: "せんしゅうのeeeeのp",
yesterday: "きのうのp",
today: "きょうのp",
tomorrow: "あしたのp",
nextWeek: "よくしゅうのeeeeのp",
other: "P",
};
export const formatRelative = (token, _date, _baseDate, _options) => {
return formatRelativeLocale[token];
};