date-fns
Version:
Modern JavaScript date utility library
11 lines • 315 B
JavaScript
var formatRelativeLocale = {
lastWeek: "'na última' eeee 'às' p",
yesterday: "'ontem às' p",
today: "'hoje às' p",
tomorrow: "'amanhã às' p",
nextWeek: "eeee 'às' p",
other: 'P'
};
export default function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}