date-fns
Version:
Modern JavaScript date utility library
20 lines (17 loc) • 471 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = formatRelative;
var formatRelativeLocale = {
lastWeek: "eeee 'lepas pada jam' p",
yesterday: "'Semalam pada jam' p",
today: "'Hari ini pada jam' p",
tomorrow: "'Esok pada jam' p",
nextWeek: "eeee 'pada jam' p",
other: 'P'
};
function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}
module.exports = exports.default;
;