date-fns
Version:
Modern JavaScript date utility library
20 lines (17 loc) • 437 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = formatRelative;
var formatRelativeLocale = {
lastWeek: '先週のeeeeのp',
yesterday: '昨日のp',
today: '今日のp',
tomorrow: '明日のp',
nextWeek: '翌週のeeeeのp',
other: 'P'
};
function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}
module.exports = exports.default;
;