12 lines
309 B
JavaScript
12 lines
309 B
JavaScript
|
const 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 const formatRelative = (token, _date, _baseDate, _options) =>
|
||
|
formatRelativeLocale[token];
|