date-fns
Version:
Modern JavaScript date utility library
11 lines • 309 B
JavaScript
var formatRelativeLocale = {
lastWeek: "'letzten' eeee 'um' p",
yesterday: "'gestern um' p",
today: "'heute um' p",
tomorrow: "'morgen um' p",
nextWeek: "eeee 'um' p",
other: 'P'
};
export default function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}