12 lines
372 B
JavaScript
12 lines
372 B
JavaScript
const formatRelativeLocale = {
|
|
lastWeek: "eeee 'اللي جاي الساعة' p",
|
|
yesterday: "'إمبارح الساعة' p",
|
|
today: "'النهاردة الساعة' p",
|
|
tomorrow: "'بكرة الساعة' p",
|
|
nextWeek: "eeee 'الساعة' p",
|
|
other: "P",
|
|
};
|
|
|
|
export const formatRelative = (token, _date, _baseDate, _options) =>
|
|
formatRelativeLocale[token];
|