UNPKG

date-fns

Version:

Modern JavaScript date utility library

11 lines 358 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]; }