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