date-fns
Version:
Modern JavaScript date utility library
20 lines (17 loc) • 529 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = formatRelative;
var formatRelativeLocale = {
lastWeek: "'ಕಳೆದ' eeee p 'ಕ್ಕೆ'",
yesterday: "'ನಿನ್ನೆ' p 'ಕ್ಕೆ'",
today: "'ಇಂದು' p 'ಕ್ಕೆ'",
tomorrow: "'ನಾಳೆ' p 'ಕ್ಕೆ'",
nextWeek: "eeee p 'ಕ್ಕೆ'",
other: 'P'
};
function formatRelative(token, _date, _baseDate, _options) {
return formatRelativeLocale[token];
}
module.exports = exports.default;
;