UNPKG

date-fns

Version:

Modern JavaScript date utility library

17 lines (14 loc) 412 B
"use strict"; exports.formatRelative = void 0; const formatRelativeLocale = { lastWeek: "せんしゅうのeeeeのp", yesterday: "きのうのp", today: "きょうのp", tomorrow: "あしたのp", nextWeek: "よくしゅうのeeeeのp", other: "P", }; const formatRelative = (token, _date, _baseDate, _options) => { return formatRelativeLocale[token]; }; exports.formatRelative = formatRelative;