16 lines
465 B
JavaScript
16 lines
465 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;
|