mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-08 18:02:25 +08:00
12 lines
319 B
JavaScript
12 lines
319 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];
|