16 lines
392 B
JavaScript
16 lines
392 B
JavaScript
|
"use strict";
|
||
|
exports.formatRelative = void 0;
|
||
|
|
||
|
const formatRelativeLocale = {
|
||
|
lastWeek: "eeee 'lalu pukul' p",
|
||
|
yesterday: "'Kemarin pukul' p",
|
||
|
today: "'Hari ini pukul' p",
|
||
|
tomorrow: "'Besok pukul' p",
|
||
|
nextWeek: "eeee 'pukul' p",
|
||
|
other: "P",
|
||
|
};
|
||
|
|
||
|
const formatRelative = (token, _date, _baseDate, _options) =>
|
||
|
formatRelativeLocale[token];
|
||
|
exports.formatRelative = formatRelative;
|