UNPKG

date-fns

Version:

Modern JavaScript date utility library

16 lines (13 loc) 369 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) => formatRelativeLocale[token]; exports.formatRelative = formatRelative;