date-fns
Version:
Modern JavaScript date utility library
11 lines • 320 B
JavaScript
var formatRelativeLocale = {
lastWeek: "eeee 'li għadda' 'fil-'p",
yesterday: "'Il-bieraħ fil-'p",
today: "'Illum fil-'p",
tomorrow: "'Għada fil-'p",
nextWeek: "eeee 'fil-'p",
other: 'P'
};
export default function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}