date-fns
Version:
Modern JavaScript date utility library
20 lines (17 loc) • 433 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;
;