date-fns
Version:
Modern JavaScript date utility library
11 lines • 316 B
JavaScript
var formatRelativeLocale = {
lastWeek: "eeee 'trecută la' p",
yesterday: "'ieri la' p",
today: "'astăzi la' p",
tomorrow: "'mâine la' p",
nextWeek: "eeee 'viitoare la' p",
other: 'P'
};
export default function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}