mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-08 09:52:26 +08:00
16 lines
494 B
JavaScript
16 lines
494 B
JavaScript
|
|
"use strict";
|
||
|
|
exports.formatRelative = void 0;
|
||
|
|
|
||
|
|
const formatRelativeLocale = {
|
||
|
|
lastWeek: "eeee'ที่แล้วเวลา' p",
|
||
|
|
yesterday: "'เมื่อวานนี้เวลา' p",
|
||
|
|
today: "'วันนี้เวลา' p",
|
||
|
|
tomorrow: "'พรุ่งนี้เวลา' p",
|
||
|
|
nextWeek: "eeee 'เวลา' p",
|
||
|
|
other: "P",
|
||
|
|
};
|
||
|
|
|
||
|
|
const formatRelative = (token, _date, _baseDate, _options) =>
|
||
|
|
formatRelativeLocale[token];
|
||
|
|
exports.formatRelative = formatRelative;
|