mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-08 09:52:26 +08:00
12 lines
305 B
JavaScript
12 lines
305 B
JavaScript
|
|
const formatRelativeLocale = {
|
||
|
|
lastWeek: "eeee 'trecută la' p",
|
||
|
|
yesterday: "'ieri la' p",
|
||
|
|
today: "'astăzi la' p",
|
||
|
|
tomorrow: "'mâine la' p",
|
||
|
|
nextWeek: "eeee 'viitoare la' p",
|
||
|
|
other: "P",
|
||
|
|
};
|
||
|
|
|
||
|
|
export const formatRelative = (token, _date, _baseDate, _options) =>
|
||
|
|
formatRelativeLocale[token];
|