date-fns
Version:
Modern JavaScript date utility library
11 lines • 358 B
JavaScript
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];
}