date-fns
Version:
Modern JavaScript date utility library
11 lines • 313 B
JavaScript
var formatRelativeLocale = {
lastWeek: "'oldingi' eeee p 'da'",
yesterday: "'kecha' p 'da'",
today: "'bugun' p 'da'",
tomorrow: "'ertaga' p 'da'",
nextWeek: "eeee p 'da'",
other: 'P'
};
export default function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}