mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-08 01:42:28 +08:00
12 lines
283 B
JavaScript
12 lines
283 B
JavaScript
const formatRelativeLocale = {
|
|
lastWeek: "'Praėjusį' eeee p",
|
|
yesterday: "'Vakar' p",
|
|
today: "'Šiandien' p",
|
|
tomorrow: "'Rytoj' p",
|
|
nextWeek: "eeee p",
|
|
other: "P",
|
|
};
|
|
|
|
export const formatRelative = (token, _date, _baseDate, _options) =>
|
|
formatRelativeLocale[token];
|