UNPKG

date-fns

Version:

Modern JavaScript date utility library

11 lines 298 B
var formatRelativeLocale = { lastWeek: "'지난' eeee p", yesterday: "'어제' p", today: "'오늘' p", tomorrow: "'내일' p", nextWeek: "'다음' eeee p", other: 'P' }; export default function formatRelative(token, _date, _baseDate, _options) { return formatRelativeLocale[token]; }